Skip to content

Commit

Permalink
Get credentials from github app
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Mar 3, 2022
1 parent 40e513e commit 25b33dd
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: "Pull Request Labeler"
on:
pull_request:
pull_request_target:
branches:
- main

jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- name: GitHub App token
id: github_app_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780
- name: Label
uses: actions/labeler@v4
with:
repo-token: ${{ steps.github_app_token.outputs.token }}

0 comments on commit 25b33dd

Please sign in to comment.