2022-02-21 22:32:37 +00:00
|
|
|
name: 'Label Pull Request Project'
|
2022-02-21 22:24:49 +00:00
|
|
|
on:
|
2023-01-12 01:09:36 +00:00
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
2024-03-22 15:51:28 +00:00
|
|
|
- reopened
|
2023-01-12 01:09:36 +00:00
|
|
|
- synchronize
|
|
|
|
concurrency:
|
2024-03-22 15:51:28 +00:00
|
|
|
group: label-pr-${{ github.event_name }}-${{ github.event.action }}-${{ github.event.pull_request.head.ref }}
|
2023-01-12 01:09:36 +00:00
|
|
|
cancel-in-progress: true
|
2022-02-21 22:24:49 +00:00
|
|
|
|
2023-01-02 17:28:11 +00:00
|
|
|
permissions: {}
|
|
|
|
|
2022-02-21 22:24:49 +00:00
|
|
|
jobs:
|
2023-01-12 01:09:36 +00:00
|
|
|
label_project:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
|
|
|
steps:
|
|
|
|
- uses: actions/labeler@v3
|
|
|
|
with:
|
|
|
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
|
|
|
configuration-path: .github/project-pr-labeler.yml
|