2022-02-03 19:16:34 +00:00
|
|
|
# ---
|
|
|
|
# name: "Metadata: Label Commenter"
|
2021-05-20 07:51:03 +00:00
|
|
|
|
2022-02-03 19:16:34 +00:00
|
|
|
# on:
|
|
|
|
# issues:
|
|
|
|
# types:
|
|
|
|
# - labeled
|
|
|
|
# - unlabeled
|
|
|
|
# pull_request_target:
|
|
|
|
# types:
|
|
|
|
# - labeled
|
|
|
|
# - unlabeled
|
2021-05-20 07:51:03 +00:00
|
|
|
|
2022-02-03 19:16:34 +00:00
|
|
|
# permissions:
|
|
|
|
# contents: read
|
|
|
|
# issues: write
|
|
|
|
# pull-requests: write
|
2021-05-20 07:51:03 +00:00
|
|
|
|
2022-02-03 19:16:34 +00:00
|
|
|
# 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 }}
|
2021-06-24 07:11:20 +00:00
|
|
|
|
2022-02-03 19:16:34 +00:00
|
|
|
# - uses: actions/checkout@v2
|
|
|
|
# with:
|
|
|
|
# token: ${{ steps.generate-token.outputs.token }}
|
|
|
|
# ref: master
|
2021-05-20 07:51:03 +00:00
|
|
|
|
2022-02-03 19:16:34 +00:00
|
|
|
# - uses: peaceiris/actions-label-commenter@v1
|
|
|
|
# with:
|
|
|
|
# github_token: ${{ steps.generate-token.outputs.token }}
|