Files
auricom-home-cluster/.github/workflows/labeler.yml
feisar-bot[bot] 1b8fea4885 ⬆️ Update actions/labeler ( v5 → v6 ) (#7426)
Co-authored-by: feisar-bot[bot] <98277827+feisar-bot[bot]@users.noreply.github.com>
2025-09-05 16:00:29 +02:00

30 lines
758 B
YAML

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Labeler"
on:
workflow_dispatch:
pull_request_target:
branches: ["main"]
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Generate Token
uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2
id: app-token
with:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Labeler
uses: actions/labeler@v6
with:
repo-token: "${{ steps.app-token.outputs.token }}"
configuration-path: .github/labeler.yaml