File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -94,15 +94,15 @@ jobs:
94
94
95
95
- name : Build bundle and create PR in OpenShift community operators repository
96
96
run : |
97
- git config --global user.email "codeflare-ci@redhat .com"
98
- git config --global user.name "CodeFlare CI "
97
+ git config --global user.email "138894154+ codeflare-[email protected] .com"
98
+ git config --global user.name "codeflare-machine-account "
99
99
make openshift-community-operator-release
100
100
env :
101
101
VERSION : ${{ github.event.inputs.version }}
102
102
PREVIOUS_VERSION : ${{ github.event.inputs.replaces }}
103
103
INSTASCALE_VERSION : ${{ github.event.inputs.instascale-version }}
104
104
MCAD_VERSION : ${{ github.event.inputs.mcad-version }}
105
- GH_TOKEN : ${{ secrets.GH_PAT }}
105
+ GH_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
106
106
IMAGE_ORG_BASE : quay.io/${{ github.event.inputs.quay-organization }}
107
107
OPERATORS_REPO_FORK_ORG : ${{ github.event.inputs.community-operators-prod-fork-organization }}
108
108
OPERATORS_REPO_ORG : ${{ github.event.inputs.community-operators-prod-organization }}
@@ -125,7 +125,7 @@ jobs:
125
125
uses : stefanzweifel/git-auto-commit-action@v4
126
126
with :
127
127
commit_message : Update dependency versions for release ${{ github.event.inputs.version }}
128
- file_pattern : ' README.md controllers/defaults.go *.yaml *.tmpl Makefile'
128
+ file_pattern : ' README.md controllers/defaults.go *.yaml Makefile'
129
129
130
130
- name : Creates a release in GitHub
131
131
run : |
Original file line number Diff line number Diff line change @@ -368,11 +368,11 @@ bundle-push: ## Push the bundle image.
368
368
369
369
.PHONY : openshift-community-operator-release
370
370
openshift-community-operator-release : install-gh-cli bundle # # build bundle and create PR in OpenShift community operators repository
371
- git clone https://$(GH_TOKEN ) @github.com/$(OPERATORS_REPO_FORK_ORG ) /community-operators-prod.git
371
+ git clone https://x-access-token: $(GH_TOKEN ) @github.com/$(OPERATORS_REPO_FORK_ORG ) /community-operators-prod.git
372
372
cd community-operators-prod && git remote add upstream https://github.com/$(OPERATORS_REPO_ORG ) /community-operators-prod.git && git pull upstream main && git push origin main
373
373
cp -r bundle community-operators-prod/operators/codeflare-operator/$(BUNDLE_VERSION )
374
- cd community-operators-prod && git checkout -b codeflare-release-$(BUNDLE_VERSION ) && git add operators/codeflare-operator/$(BUNDLE_VERSION ) /* && git commit -m " add bundle manifests codeflare version $( BUNDLE_VERSION) " && git push origin codeflare-release-$(BUNDLE_VERSION )
375
- gh pr create --repo $(OPERATORS_REPO_FORK_ORG ) /community-operators-prod --title " CodeFlare $( BUNDLE_VERSION) " --body " New release of codeflare operator" --head $(OPERATORS_REPO_ORG ) :codeflare-release-$(BUNDLE_VERSION ) --base main
374
+ cd community-operators-prod && git checkout -b codeflare-release-$(BUNDLE_VERSION ) && git add operators/codeflare-operator/$(BUNDLE_VERSION ) /* && git commit -m " add bundle manifests codeflare version $( BUNDLE_VERSION) " --signoff && git push origin codeflare-release-$(BUNDLE_VERSION )
375
+ gh pr create --repo $(OPERATORS_REPO_ORG ) /community-operators-prod --title " CodeFlare $( BUNDLE_VERSION) " --body " New release of codeflare operator" --head $(OPERATORS_REPO_FORK_ORG ) :codeflare-release-$(BUNDLE_VERSION ) --base main
376
376
rm -rf community-operators-prod
377
377
378
378
.PHONY : opm
You can’t perform that action at this time.
0 commit comments