2019-11-30 23:23:09 +01:00
|
|
|
name: Apply labels to PR
|
|
|
|
on:
|
2021-09-07 08:54:53 +02:00
|
|
|
pull_request_target:
|
2019-11-30 23:23:09 +01:00
|
|
|
types: [opened]
|
|
|
|
|
2023-09-24 18:04:06 +01:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2019-11-30 23:23:09 +01:00
|
|
|
jobs:
|
|
|
|
pr-labeler:
|
|
|
|
runs-on: ubuntu-latest
|
2023-09-24 18:04:06 +01:00
|
|
|
permissions:
|
|
|
|
contents: read # read permission is required to read config file
|
|
|
|
pull-requests: write # write permission is required to label PRs
|
2019-11-30 23:23:09 +01:00
|
|
|
steps:
|
|
|
|
- name: Label PR
|
2023-02-09 00:51:38 +00:00
|
|
|
uses: TimonVS/pr-labeler-action@v4
|
2019-11-30 23:23:09 +01:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|