Skip to content

merged git

merged git #9

Workflow file for this run

name: Matrix compat
on:
release:
types: [created]
pull_request:
branches:
- main
paths:
- "**.go"
- "!test/**" # exclude changes in e2e tests
- ".github/workflows/unit-tests.yaml"
- "hack/test.sh"
- "charts/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
name: generates automated matrix

Check failure on line 21 in .github/workflows/compat-matrix.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/compat-matrix.yaml

Invalid workflow file

You have an error in your yaml syntax on line 21
runs-on: ubuntu-22.04
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: "1.21"
cache: false
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Execute unit tests
run: go run hack/compat-matrix/main.go docs/pages/deploying-vclusters/compat-matrix.mdx
- 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 }}
run: git push