Skip to content

Commit

Permalink
chore: use hmac
Browse files Browse the repository at this point in the history
add hmac
  • Loading branch information
BobyMCbobs committed May 23, 2024
1 parent e1fdef6 commit 77c81d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/verify-conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
env:
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
GH_APP_ID: ${{ secrets.GH_APP_ID }}
GH_APP_HMAC: ${{ secrets.GH_APP_HMAC }}
run: |
mkdir -p ./tmp/
curl -sSLv https://raw.githubusercontent.com/cncf-infra/verify-conformance/main/hack/local-dev/verify-conformance-config.yaml -o ./verify-conformance-config.yaml
echo '${{ env.GH_APP_PRIVATE_KEY }}' | base64 -d > ./tmp/github-app-private-key
echo '${{ env.GH_APP_HMAC }}' > ./tmp/hmac
- name: verify-conformance
env:
GH_APP_ID: ${{ secrets.GH_APP_ID }}
Expand All @@ -33,7 +35,8 @@ jobs:
--dry-run=false \
--plugin-config="$PWD/verify-conformance-config.yaml" \
--github-app-id="${{ env.GH_APP_ID }}" \
--github-app-private-key-path="$PWD/tmp/github-app-private-key"
--github-app-private-key-path="$PWD/tmp/github-app-private-key" \
--hmac-secret-file=$PWD/tmp/hmac
- name: cleanup
if: ${{ always() }}
run: |
Expand Down

0 comments on commit 77c81d7

Please sign in to comment.