mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39:02 +00:00
78e8e2d29a
Co-authored-by: Renovate Bot <bot@renovateapp.com>
39 lines
808 B
YAML
39 lines
808 B
YAML
---
|
|
name: "Metadata: Label Commenter"
|
|
|
|
on:
|
|
issues:
|
|
types:
|
|
- labeled
|
|
- unlabeled
|
|
pull_request_target:
|
|
types:
|
|
- labeled
|
|
- unlabeled
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
comment:
|
|
name: Label commenter
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Generate Token
|
|
uses: tibdex/github-app-token@v1
|
|
id: generate-token
|
|
with:
|
|
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
|
|
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
|
|
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
token: ${{ steps.generate-token.outputs.token }}
|
|
ref: master
|
|
|
|
- uses: peaceiris/actions-label-commenter@v1
|
|
with:
|
|
github_token: ${{ steps.generate-token.outputs.token }}
|