mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
ci: add @actions/labeler (#1127)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Triage pull request
|
||||
on:
|
||||
pull_request_target:
|
||||
permissions: {}
|
||||
jobs:
|
||||
label:
|
||||
name: Label
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create token
|
||||
id: create-token
|
||||
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1
|
||||
with:
|
||||
client-id: ${{ vars.APPLICATION_ID }}
|
||||
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
owner: fluxerapp
|
||||
repositories: fluxer
|
||||
permission-pull-requests: write
|
||||
|
||||
- name: Label pull request
|
||||
uses: actions/labeler@e52e4fb63ed5cd0e07abaad9826b2a893ccb921f
|
||||
with:
|
||||
repo-token: ${{ steps.create-token.outputs.token }}
|
||||
configuration-path: .github/labeller.yaml
|
||||
sync-labels: true
|
||||
Reference in New Issue
Block a user