Skip to content

Commit

Permalink
fix(release-notifications): use app token for authentication (#14150)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tay1orjones and kodiakhq[bot] committed Jul 7, 2023
1 parent f63a688 commit fae184d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Generate token
uses: tibdex/github-app-token@v1
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Add release information on pull requests
uses: ./actions/release-notifications
with:
GITHUB_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
OWNER: 'carbon-design-system'
REPO_NAME: 'carbon'
enabled: true
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit fae184d

Please sign in to comment.