Skip to content

Commit ccce184

Browse files
CARRY: Add workflow run for auto-merge sync
1 parent f917031 commit ccce184

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Workflow is meant to run in the red-hat-data-services/codeflare-operator repo
2+
name: Auto-Merge-Sync
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
trigger-auto-merge-sync:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: upstream-odh-auto-merge
11+
run: |
12+
gh workflow run upstream-auto-merge.yaml --repo github.com/red-hat-data-services/rhods-devops-infra --ref main --field repositories=codeflare-upstream
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
15+
shell:
16+
bash
17+
- name: odh-rhds-auto-merge
18+
if: ${{ steps.upstream-odh-auto-merge.outcome == 'success' }}
19+
run: |
20+
gh workflow run upstream-auto-merge.yaml --repo github.com/red-hat-data-services/rhods-devops-infra --ref main --field repositories=codeflare-downstream
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
23+
shell:
24+
bash

0 commit comments

Comments
 (0)