From 6f99e0c80f359bb247fafba1d00fa99fd810a591 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Mon, 2 Sep 2024 18:03:22 +0700 Subject: [PATCH] ci(new-templates): rm `git pull` command Signed-off-by: Dwi Siswanto --- .github/workflows/new-templates.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: