File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,28 @@ jobs:
1414 if : github.repository == 'OWASP/www-project-asvs-security-evaluation-templates-with-nuclei'
1515 steps :
1616 - uses : actions/checkout@v4
17+
1718 - uses : projectdiscovery/actions/setup/nuclei@v1
1819 - run : nuclei -lfa -duc -sign -ud $GITHUB_WORKSPACE -t .
1920 env :
2021 NUCLEI_USER_CERTIFICATE : ${{ secrets.NUCLEI_USER_CERTIFICATE }}
2122 NUCLEI_USER_PRIVATE_KEY : ${{ secrets.NUCLEI_USER_PRIVATE_KEY }}
23+
24+ # Set up GPG for automatic commit signing
25+ - name : Set up GPG
26+ run : |
27+ echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
28+ git config --global user.name "Signing Bot"
29+ git config --global user.email "[email protected] " 30+ git config --global commit.gpgSign true
31+ git config --global user.signingkey ${{ secrets.GPG_KEY_ID }}
32+
2233 - uses : projectdiscovery/actions/setup/git@v1
2334 - uses : projectdiscovery/actions/commit@v1
2435 with :
2536 files : ' .'
2637 message : ' chore: sign templates 🤖'
38+
2739 - name : Push changes
2840 run : |
2941 git pull origin $GITHUB_REF --rebase
You can’t perform that action at this time.
0 commit comments