Version auto update #8
Workflow file for this run
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: Compatibility Matrix | ||
on: | ||
release: | ||
types: [created] | ||
pull_request: | ||
branches: | ||
- main | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
check-if-matrix-is-up-to-date: | ||
name: matrix job | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: regenerate the table | ||
run: | | ||
go run hack/compat-matrix/main.go docs/pages/deploying-vclusters/compat-matrix | ||
- name: commit change if needed | ||
run: | | ||
git diff --quiet && git diff --staged --quiet || git commit -am 'updated compatibility matrix' | ||
- name: Push changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TO:KEN }} | ||
Check failure on line 29 in .github/workflows/matrix.yaml GitHub Actions / Compatibility MatrixInvalid workflow file
|
||
run: git push | ||