You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
GitHub App Token Action
v1.1.5
A fork of tibdex/github-app-token.
name: "Pull Request Labeler"
on:
pull_request_target:
jobs:
triage:
runs-on: ubuntu-22.04
timeout-minutes: 1
permissions: {}
steps:
- uses: peaceiris/actions-github-app-token@v1
id: app
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
# https://github.com/actions/labeler
- uses: actions/labeler@v4
with:
repo-token: "${{ steps.app.outputs.token }}"