We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c04d6b commit 2bef62fCopy full SHA for 2bef62f
.github/workflows/labeler.yml
@@ -1,13 +1,22 @@
1
name: "Pull Request Labeler"
2
-# https://github.com/actions/labeler
3
4
on:
5
- - pull_request_target
+ pull_request_target:
6
7
jobs:
8
triage:
9
runs-on: ubuntu-22.04
+ timeout-minutes: 1
10
+ permissions: {}
11
steps:
- - uses: actions/labeler@v4
12
- with:
13
- repo-token: "${{ secrets.GH_PAT }}"
+ # https://github.com/peaceiris/actions-github-app-token
+ - uses: peaceiris/[email protected]
14
+ id: app
15
+ with:
16
+ app_id: ${{ secrets.GH_APP_ID }}
17
+ private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
18
+
19
+ # https://github.com/actions/labeler
20
+ - uses: actions/labeler@v4
21
22
+ repo-token: "${{ steps.app.outputs.token }}"
0 commit comments