Skip to content

Commit

Permalink
CICD - update generate GH App token
Browse files Browse the repository at this point in the history
  • Loading branch information
cqbanh committed Jun 6, 2024
1 parent 8b81668 commit a92948e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,10 @@ jobs:
path: build/*
- name: Generate GitHub App Token
id: generate_token
uses: tibdex/github-app-token@v1
uses: actions/create-github-app-token@v1
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Check Token Scopes
run: |
curl -H "Authorization: Bearer ${{ steps.generate_token.outputs.token }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/app
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Commit Version Bump
# If building an alpha, release candidate, or release then we commit the version bump back to the repo
if: |
Expand Down

0 comments on commit a92948e

Please sign in to comment.