File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Certify Operator
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ sync :
11+ runs-on : ubuntu-22.04
12+ permissions :
13+ contents : write
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
17+ with :
18+ token : ${{ secrets.NGINX_PAT }}
19+
20+ - name : Make
21+ run : |
22+ make bundle USE_IMAGE_DIGESTS=true
23+
24+ - name : Checkout certified-operators repo
25+ uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
26+ with :
27+ token : ${{ secrets.NGINX_PAT }}
28+ repository : nginx-bot/certified-operators
29+ path : certified-operators
30+
31+ - name : Sync fork with upstream
32+ run : |
33+ git fetch upstream
34+ git merge upstream/main
35+ git push
36+
37+ - name : Update certified-operators repo
38+ working-directory : certified-operators/operators/nginx-ingress-operator
39+ run : |
40+ mkdir v2.0.1
41+ cd v2.0.1
42+ cp -R ../../../bundle/manifests .
43+ cp -R ../../../bundle/metadata .
44+
45+ - name : Commit changes
46+ id : commit
47+ uses :
stefanzweifel/[email protected] 48+ with :
49+ commit_message : operator nginx-ingress-operator (v2.0.1)
50+ create_branch : true
51+ branch : update-nginx-ingress-operator-to-v2.0.1
52+ repository : certified-operators
53+
54+ - name : Create PR
55+ working-directory : certified-operators
56+ run : |
57+ gh pr create --title "operator nginx-ingress-operator (v2.0.1)" --body "Update nginx-ingress-operator to v2.0.1" --head nginx-bot:update-nginx-ingress-operator-to-v2.0.1 --base main --repo redhat-openshift-ecosystem/certified-operators
You can’t perform that action at this time.
0 commit comments