diff --git a/.github/workflows/new-templates.yml b/.github/workflows/new-templates.yml index 5a734f2afb..9f3f3d6494 100644 --- a/.github/workflows/new-templates.yml +++ b/.github/workflows/new-templates.yml @@ -22,9 +22,7 @@ jobs: with: fetch-depth: 0 - name: Generate new addition list - run: | - git pull - git diff --name-only --diff-filter=A $(git tag | tail -n 1) @ . | grep -v "^\.github/" | grep "\.yaml$" | tee $NEW_ADDITION_FILE + run: 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: