mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 14:16:00 +08:00
23 lines
548 B
YAML
23 lines
548 B
YAML
name: "Pull Request Labeler"
|
|
|
|
on:
|
|
pull_request_target:
|
|
|
|
jobs:
|
|
triage:
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 1
|
|
permissions: {}
|
|
steps:
|
|
# https://github.com/peaceiris/actions-github-app-token
|
|
- uses: peaceiris/actions-github-app-token@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@v5
|
|
with:
|
|
repo-token: "${{ steps.app.outputs.token }}"
|