Skip to content

Commit 620c8e7

Browse files
Shilpa Chughopenshift-merge-robot
authored andcommitted
added_branches_for_push
1 parent 8755e79 commit 620c8e7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/sync.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ name: update manifests in odh-manifests repo
44
on:
55
workflow_dispatch:
66
push:
7+
branches:
8+
- main
9+
- 'releases/*'
710

811
jobs:
912
update-manifests-and-create-pull-request:
@@ -34,10 +37,10 @@ jobs:
3437
- name: Checkout odh-manifest repository
3538
uses: actions/checkout@v3
3639
with:
37-
repository: ChughShilpa/odh-manifests
40+
repository: opendatahub-io/odh-manifests
3841
ref: master
3942
path: odh-manifests
40-
token: ${{ secrets.NEW_ACCESS_TOKEN }}
43+
token: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
4144

4245
- name: Update manifest & create PR in odh-manifests repo
4346
run: |
@@ -75,8 +78,6 @@ jobs:
7578
# Commit and push the branch to origin
7679
echo " status before add ....."
7780
git status
78-
echo " diff before add ....."
79-
git diff
8081
if [[ `git status --porcelain` ]]; then
8182
echo "Changes detected ...."
8283
git add .
@@ -108,4 +109,4 @@ jobs:
108109
--base "master"
109110
fi
110111
env:
111-
GITHUB_TOKEN: ${{ secrets.NEW_ACCESS_TOKEN }}
112+
GITHUB_TOKEN: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}

0 commit comments

Comments
 (0)