Skip to content

Commit

Permalink
ci: fix secret for sudo-bot GPG passphrase
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 8, 2021
1 parent 547e15e commit 61263ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
env:
INSTALLATION_ID: ${{ secrets.INSTALLATION_ID }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GH_APP_JWT_PRIV_PEM_CONTENTS: ${{ secrets.GH_APP_JWT_PRIV_PEM_CONTENTS }}
TARGET_BRANCH: "main"
run: ./scripts/sudo-bot/create-pr.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
env:
INSTALLATION_ID: ${{ secrets.INSTALLATION_ID }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GH_APP_JWT_PRIV_PEM_CONTENTS: ${{ secrets.GH_APP_JWT_PRIV_PEM_CONTENTS }}
TARGET_BRANCH: "gh-pages"
run: ./scripts/sudo-bot/create-pr.sh
4 changes: 0 additions & 4 deletions scripts/sudo-bot/create-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ printf 'Starting to run sudo-bot\n'

~/.yarn/bin/sudo-bot --version

set -x

printf 'Running...\n'

~/.yarn/bin/sudo-bot --verbose \
Expand All @@ -71,8 +69,6 @@ printf 'Running...\n'
--gpg-private-key-file='~/.private-key.asc' \
--gpg-private-key-passphrase="${GPG_PASSPHRASE}"

set +x

printf 'End.\n'

flushSecrets

0 comments on commit 61263ca

Please sign in to comment.