File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ # This is a job to be run in the validatedpatterns organization only.
2+ # It tries to keep the rhdp-deploy branch uptodate by creating a PR from main
3+ ---
4+ name : Sync main to rhdp-deploy
5+ on :
6+ push :
7+ branches :
8+ - main
9+
10+ jobs :
11+ sync-branches :
12+ if : |
13+ github.repository_owner == 'validatedpatterns'
14+ runs-on : ubuntu-latest
15+ name : Git Sync branch
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ - name : Set up Node
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : 20
23+ - name : Opening pull request
24+ id : pull
25+ uses :
mbaldessari/[email protected] 26+ with :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ FROM_BRANCH : " main"
29+ TO_BRANCH : " rhdp-deploy"
Original file line number Diff line number Diff line change 33# validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
44---
55name : Update docs pattern metadata
6-
76on :
87 push :
98 paths :
109 - " pattern-metadata.yaml"
1110 - " .github/workflows/update-metadata.yml"
11+ branches :
12+ - main
1213
1314jobs :
1415 update-metadata :
You can’t perform that action at this time.
0 commit comments