Skip to content

Commit c1e7f28

Browse files
authored
Add workflow for CSV revision alignment check (#3342)
1 parent 9446c95 commit c1e7f28

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CSV revision check
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'olm-catalog/serverless-operator/manifests/serverless-operator.clusterserviceversion.yaml'
7+
branches:
8+
- 'main'
9+
- 'release-*'
10+
11+
jobs:
12+
csv-revision-check:
13+
name: CSV component revision alignment check
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Setup Golang
18+
uses: openshift-knative/hack/actions/setup-go@main
19+
20+
- name: Check out code
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
25+
- name: Install yq
26+
run: |
27+
go install github.com/mikefarah/yq/v3@latest
28+
29+
- name: Revision check
30+
run: make verify-csv-revisions

0 commit comments

Comments
 (0)