2024-07-06 16:43:53 +02:00
|
|
|
name: "Pull Request Labeler"
|
|
|
|
on:
|
2024-07-06 20:15:19 +02:00
|
|
|
pull_request_target:
|
2024-07-06 16:43:53 +02:00
|
|
|
types: [opened, synchronize]
|
|
|
|
|
2024-12-21 13:28:35 +01:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2024-07-06 16:43:53 +02:00
|
|
|
jobs:
|
|
|
|
labeler:
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-12-21 13:28:35 +01:00
|
|
|
- name: Harden Runner
|
|
|
|
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
|
|
|
|
with:
|
|
|
|
egress-policy: audit
|
|
|
|
|
|
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
2024-08-16 12:00:10 +02:00
|
|
|
|
|
|
|
- name: Apply Labels
|
2024-12-21 13:28:35 +01:00
|
|
|
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
|
2024-07-06 16:43:53 +02:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
configuration-path: .github/labeler-config.yml
|
|
|
|
sync-labels: true
|