2021-05-20 07:51:03 +00:00
|
|
|
---
|
2021-07-12 08:33:02 +00:00
|
|
|
name: 'Metadata: Label Commenter'
|
2021-05-20 07:51:03 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types:
|
|
|
|
- labeled
|
|
|
|
- unlabeled
|
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- labeled
|
|
|
|
- unlabeled
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
jobs:
|
2021-07-12 08:33:02 +00:00
|
|
|
comment:
|
|
|
|
name: Label commenter
|
2021-05-20 07:51:03 +00:00
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2021-07-12 08:33:02 +00:00
|
|
|
- uses: getsentry/action-github-app-token@v1
|
2021-06-24 07:11:20 +00:00
|
|
|
id: get-app-token
|
|
|
|
with:
|
|
|
|
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
|
|
|
|
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
|
|
|
|
|
2021-05-20 07:51:03 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
2021-06-24 07:11:20 +00:00
|
|
|
token: ${{ steps.get-app-token.outputs.token }}
|
2021-05-20 07:54:29 +00:00
|
|
|
ref: master
|
2021-05-20 07:51:03 +00:00
|
|
|
|
2021-07-12 08:33:02 +00:00
|
|
|
- uses: peaceiris/actions-label-commenter@v1
|
2021-06-24 07:11:20 +00:00
|
|
|
with:
|
|
|
|
github_token: ${{ steps.get-app-token.outputs.token }}
|