Merge pull request #10526 from projectdiscovery/ci/fix-failing-workflows

ci: fix failing workflows
main
Sandeep Singh 2024-08-14 09:31:14 +05:30 committed by GitHub
commit 6a21c68d97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -21,6 +21,7 @@ jobs:
with: with:
templates-directory: '${{ github.workspace }}' templates-directory: '${{ github.workspace }}'
checksum-file: '${{ env.CHECKSUM_FILE }}' checksum-file: '${{ env.CHECKSUM_FILE }}'
- run: git status
- uses: projectdiscovery/actions/setup/git@v1 - uses: projectdiscovery/actions/setup/git@v1
- uses: projectdiscovery/actions/commit@v1 - uses: projectdiscovery/actions/commit@v1
with: with:

View File

@ -22,9 +22,7 @@ jobs:
- uses: projectdiscovery/actions/setup/git@v1 - uses: projectdiscovery/actions/setup/git@v1
- uses: projectdiscovery/actions/commit@v1 - uses: projectdiscovery/actions/commit@v1
with: with:
files: | files: '.'
cves.json
cves.json-checksum.txt
message: 'chore: sign templates 🤖' message: 'chore: sign templates 🤖'
- name: Push changes - name: Push changes
run: | run: |

View File

@ -39,6 +39,8 @@ on:
- 'javascript/misconfiguration/x11/x11-unauth-access.yaml' - 'javascript/misconfiguration/x11/x11-unauth-access.yaml'
- 'javascript/udp/detection/db2-discover.yaml' - 'javascript/udp/detection/db2-discover.yaml'
workflow_dispatch: workflow_dispatch:
workflow_call:
jobs: jobs:
sync: sync:
if: github.repository == 'projectdiscovery/nuclei-templates' if: github.repository == 'projectdiscovery/nuclei-templates'