Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Fix CI GPG Key (#311)
Browse files Browse the repository at this point in the history
- [+] fix(codeql.yml): hardcode recipient key in gpg encryption command
  • Loading branch information
H0llyW00dzZ authored Apr 23, 2024
1 parent c45a156 commit 3ab936e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
run: |
curl -sSL "https://github.com/${{ github.repository_owner }}.gpg" -o keyfile
gpg --import keyfile
gpg --encrypt --recipient "$(gpg --list-keys --keyid-format LONG | grep '^pub' | awk '{print $2}' | awk -F'/' '{print $2}')" --trust-model always "${{ runner.workspace }}/results/javascript.sarif"
gpg --encrypt --recipient 05C7FFFC0845C930 --trust-model always "${{ runner.workspace }}/results/javascript.sarif"
- name: Upload Analysis Result As Artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3ab936e

Please sign in to comment.