Skip to content

Commit

Permalink
[CI] Use neurobagel-chef-bot app access token in release.yaml (#325)
Browse files Browse the repository at this point in the history
Use neurobagel-chef-bot app access token in release.yaml
  • Loading branch information
alyssadai authored Jul 19, 2024
1 parent 0ee2382 commit 7af9165
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,16 @@ jobs:
wget -O- "$auto_download_url" | gunzip > ~/auto
chmod a+x ~/auto
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.NB_CHEF_BOT_ID }}
private-key: ${{ secrets.NB_CHEF_BOT_KEY }}

- name: Release
run: ~/auto shipit -vv
env:
GH_TOKEN: ${{ secrets.NB_RELEASE_CLASSIC_PAT }}
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
# GH_TOKEN: ${{ secrets.NB_PAT_RELEASE }}
PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.NB_PAT_RELEASE_PROTECTED }}

0 comments on commit 7af9165

Please sign in to comment.