2024-07-20 10:57:27 +02:00
|
|
|
name: Manage labels
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "30 20 * * *"
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
issues: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
labeler:
|
|
|
|
name: Labeler
|
|
|
|
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
|
|
|
|
|
2024-07-20 10:57:27 +02:00
|
|
|
- name: Check out the repository
|
2024-12-21 13:28:35 +01:00
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
2024-07-20 10:57:27 +02:00
|
|
|
|
|
|
|
- name: Run Labeler
|
2024-12-21 14:02:23 +01:00
|
|
|
uses: crazy-max/ghaction-github-labeler@b54af0c25861143e7c8813d7cbbf46d2c341680c # v5.1.0
|
2024-07-20 10:57:27 +02:00
|
|
|
with:
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
yaml-file: .github/labels.yml
|
|
|
|
skip-delete: true
|