Skip to content

Commit

Permalink
Merge pull request #999 from vrc-get/ci-use-github-app-for-labeler
Browse files Browse the repository at this point in the history
ci: use github app token for labeler
  • Loading branch information
anatawa12 committed May 19, 2024
2 parents 9c36668 + 3075007 commit 354b925
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,14 @@ jobs:
contents: read
pull-requests: write
runs-on: ubuntu-latest
environment:
name: actions-github-app
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/labeler@v5
with:
repo-token: ${{ steps.app-token.outputs.token }}

0 comments on commit 354b925

Please sign in to comment.