mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-09-23 13:18:40 +00:00
23 lines
637 B
YAML
23 lines
637 B
YAML
name: "Pull Request Labeler"
|
|
|
|
on:
|
|
pull_request_target:
|
|
|
|
jobs:
|
|
triage:
|
|
runs-on: ubuntu-slim
|
|
timeout-minutes: 5
|
|
permissions: {}
|
|
steps:
|
|
# https://github.com/peaceiris/actions-github-app-token
|
|
- uses: peaceiris/actions-github-app-token@652b86006ad2c113bdd5c478c9a98f359829847b # v1.1.6
|
|
id: app
|
|
with:
|
|
app_id: ${{ secrets.GH_APP_ID }}
|
|
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
|
|
|
# https://github.com/actions/labeler
|
|
- uses: actions/labeler@f27b608878404679385c85cfa523b85ccb86e213 # v6.1.0
|
|
with:
|
|
repo-token: "${{ steps.app.outputs.token }}"
|