From b0fd990b6c82dc66a5cd308eaf2127c375267bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Thu, 24 Jun 2021 09:11:20 +0200 Subject: [PATCH] [CI] Update label-commenter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- .github/label-commenter-config.yml | 12 ++++++++++-- .github/workflows/label-commenter.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml index fa45eb1b..f896a83b 100644 --- a/.github/label-commenter-config.yml +++ b/.github/label-commenter-config.yml @@ -22,8 +22,16 @@ labels: - [GitHub Discussions](https://github.com/k8s-at-home/organization/discussions) action: close - - name: kind:incomplete-pull-request + - name: kind:incomplete-docs labeled: pr: body: | - :wave: @{{ pull_request.user.login }}, thanks for taking the time to submit this PR. 🙏🏽 Would you mind updating the `version` in `Chart.yaml` per [semver](http://semver.org/) and then update `README_CHANGELOG.md.gotmpl` and run `./hack/gen-helm-docs.sh stable ` again? + :wave: @{{ pull_request.user.login }}, thanks for taking the time to submit this PR. 🙏🏽 + + We have noticed that the chart documentation has not been completely updated for this PR. + Could you please make sure that the following items have been updated: + - `version` in `Chart.yaml` has been updated per [semver](http://semver.org/) + - `README_CHANGELOG.md.gotmpl` contains a summary of the updates for this new version + - [Documentation strings](https://github.com/norwoodj/helm-docs#valuesyaml-metadata) have been added to the keys in `values.yaml`. + + Afterwards you can run `./hack/gen-helm-docs.sh stable ` again to update the chart's `README.md` file. diff --git a/.github/workflows/label-commenter.yaml b/.github/workflows/label-commenter.yaml index 91296a90..c00b6363 100644 --- a/.github/workflows/label-commenter.yaml +++ b/.github/workflows/label-commenter.yaml @@ -20,9 +20,19 @@ jobs: support: runs-on: ubuntu-20.04 steps: + - name: Get k8s-at-home token + id: get-app-token + uses: getsentry/action-github-app-token@v1 + with: + app_id: ${{ secrets.K8S_AT_HOME_APP_ID }} + private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }} + - uses: actions/checkout@v2 with: + token: ${{ steps.get-app-token.outputs.token }} ref: master - name: Label Commenter uses: peaceiris/actions-label-commenter@v1 + with: + github_token: ${{ steps.get-app-token.outputs.token }}