ci(new-templates): fix non-templates added to new additions list

Signed-off-by: Dwi Siswanto <git@dw1.io>
main
Dwi Siswanto 2024-08-14 11:39:46 +07:00
parent 5b1eb0abc0
commit b151ec089e
No known key found for this signature in database
GPG Key ID: 278082FF7CEF3914
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Generate new addition list
run: |
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/commit@v1
with: