diff --git a/.github/workflows/template-sign.yml b/.github/workflows/template-sign.yml index b292b8d7dbc..2d974c82e0e 100644 --- a/.github/workflows/template-sign.yml +++ b/.github/workflows/template-sign.yml @@ -16,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: projectdiscovery/actions/setup/nuclei@v1 + with: + token: '${{ secrets.GITHUB_TOKEN}}' - run: nuclei -lfa -duc -sign -ud $GITHUB_WORKSPACE -t . env: NUCLEI_USER_CERTIFICATE: ${{ secrets.NUCLEI_USER_CERTIFICATE }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 484be3ee04f..3393990e62b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,6 +25,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: projectdiscovery/actions/setup/nuclei@v1 + with: + token: '${{ secrets.GITHUB_TOKEN }}' - name: Validate templates run: nuclei -duc -validate -lfa -ud $GITHUB_WORKSPACE -w workflows/ -et .github/ @@ -51,6 +53,8 @@ jobs: changed: - added|modified: *templates - uses: projectdiscovery/actions/setup/nuclei@v1 + with: + token: '${{ secrets.GITHUB_TOKEN }}' - run: bash weak-matcher-checks.sh id: check if: steps.filter.outputs.changed == 'true'