ci(new-templates): fix non-templates added to new additions list
Signed-off-by: Dwi Siswanto <git@dw1.io>main
parent
5b1eb0abc0
commit
b151ec089e
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Generate new addition list
|
- name: Generate new addition list
|
||||||
run: |
|
run: |
|
||||||
git pull
|
git pull
|
||||||
git diff --name-only --diff-filter=A $(git tag | tail -n 1) @ . | grep .yaml | tee $NEW_ADDITION_FILE
|
git diff --name-only --diff-filter=A $(git tag | tail -n 1) @ . | grep -v "^\.github/" | grep "\.yaml$" | tee $NEW_ADDITION_FILE
|
||||||
- uses: projectdiscovery/actions/setup/git@v1
|
- uses: projectdiscovery/actions/setup/git@v1
|
||||||
- uses: projectdiscovery/actions/commit@v1
|
- uses: projectdiscovery/actions/commit@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue