[ci] Update CI

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-12 14:54:17 +02:00 committed by GitHub
parent 747da94940
commit fbecb3a3c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,3 +98,21 @@ jobs:
commit_user_email: <k8s-at-home[bot]@users.noreply.github.com> commit_user_email: <k8s-at-home[bot]@users.noreply.github.com>
commit_author: k8s-at-home[bot] <k8s-at-home[bot]@users.noreply.github.com> commit_author: k8s-at-home[bot] <k8s-at-home[bot]@users.noreply.github.com>
file_pattern: charts/**/ file_pattern: charts/**/
# Repo owner has commented /update-readme on a (fork-based) pull request
generate-readme-fork:
if:
github.event_name == 'repository_dispatch' &&
github.event.client_payload.slash_command.sha != '' &&
contains(github.event.client_payload.pull_request.head.sha, github.event.client_payload.slash_command.sha)
name: Auto-generate chart README
runs-on: ubuntu-20.04
steps:
# Check out merge commit
- name: Fork based /ok-to-test checkout
uses: actions/checkout@v2
with:
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
- run: |
echo "success! ;-)"