mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
30 lines
758 B
YAML
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
|