Flow: Update Supported K8s Versions #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Flow: Update Supported K8s Versions" | |
on: | |
schedule: | |
- cron: 0 5 * * 5 | |
workflow_dispatch: | |
jobs: | |
rate-limit: | |
name: Rate Limit | |
uses: ./.github/workflows/job_rate-limit.yaml | |
with: | |
limit: 10 | |
update-k8s-versions: | |
name: Update K8s Versions | |
needs: [rate-limit] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install yq - portable yaml processor | |
uses: mikefarah/[email protected] | |
- name: Execute update script | |
run: ./.github/scripts/update-supported-k8s-versions.sh | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
branch: build/update-supported-k8s-versions | |
title: "build: update list of supported kubernetes versions" | |
body: Update the list of supported Kubernetes versions. | |
author: Philipp Waller <[email protected]> | |
committer: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> | |
commit-message: "build: update list of supported kubernetes versions" | |
assignees: philippwaller | |
delete-branch: true | |
base: main | |
token: ${{ secrets.PAT }} |