Skip to content

Commit

Permalink
Add workflow for CSV revision alignment check
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Jan 17, 2025
1 parent e6beb76 commit 3cd0cc7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/csv-revision-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CSV revision check

on:
pull_request:
paths:
- 'olm-catalog/serverless-operator/manifests/serverless-operator.clusterserviceversion.yaml'
branches:
- 'main'
- 'release-*'

jobs:
csv-revision-check:
name: CSV component revision alignment check
runs-on: ubuntu-latest

steps:
- name: Setup Golang
uses: openshift-knative/hack/actions/setup-go@main

- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install yq
run: |
go install github.com/mikefarah/yq/v3@latest
- name: Revision check
run: make verify-csv-revisions

0 comments on commit 3cd0cc7

Please sign in to comment.