diff --git a/.github/workflows/template-checksum.yml b/.github/workflows/template-checksum.yml index 0603480e02..a490fd35b6 100644 --- a/.github/workflows/template-checksum.yml +++ b/.github/workflows/template-checksum.yml @@ -21,6 +21,7 @@ jobs: with: templates-directory: '${{ github.workspace }}' checksum-file: '${{ env.CHECKSUM_FILE }}' + - run: git status - uses: projectdiscovery/actions/setup/git@v1 - uses: projectdiscovery/actions/commit@v1 with: diff --git a/.github/workflows/template-sign.yml b/.github/workflows/template-sign.yml index 477aab0d00..a6cdf75d97 100644 --- a/.github/workflows/template-sign.yml +++ b/.github/workflows/template-sign.yml @@ -22,9 +22,7 @@ jobs: - uses: projectdiscovery/actions/setup/git@v1 - uses: projectdiscovery/actions/commit@v1 with: - files: | - cves.json - cves.json-checksum.txt + files: '.' message: 'chore: sign templates 🤖' - name: Push changes run: | diff --git a/.github/workflows/templates-sync.yml b/.github/workflows/templates-sync.yml index b4b40163de..b6e6b2354b 100644 --- a/.github/workflows/templates-sync.yml +++ b/.github/workflows/templates-sync.yml @@ -39,6 +39,8 @@ on: - 'javascript/misconfiguration/x11/x11-unauth-access.yaml' - 'javascript/udp/detection/db2-discover.yaml' workflow_dispatch: + workflow_call: + jobs: sync: if: github.repository == 'projectdiscovery/nuclei-templates'