2022-02-21 22:32:37 +00:00
|
|
|
name: 'Label Pull Request Project'
|
2022-02-21 22:24:49 +00:00
|
|
|
on:
|
2022-02-22 18:05:27 +00:00
|
|
|
pull_request_target:
|
2022-02-21 22:24:49 +00:00
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
2022-04-21 18:29:53 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
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:
|
|
|
|
label_project:
|
2022-04-27 01:28:56 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2023-01-02 17:28:11 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
2022-02-21 22:24:49 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/labeler@v3
|
|
|
|
with:
|
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
configuration-path: .github/project-pr-labeler.yml
|