Skip to content

Commit 860fb29

Browse files
authored
Merge pull request #444 from validatedpatterns/main
sync: main to rhdp-deploy
2 parents 91d54be + c239915 commit 860fb29

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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"

.github/workflows/update-metadata.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
# validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
44
---
55
name: Update docs pattern metadata
6-
76
on:
87
push:
98
paths:
109
- "pattern-metadata.yaml"
1110
- ".github/workflows/update-metadata.yml"
11+
branches:
12+
- main
1213

1314
jobs:
1415
update-metadata:

0 commit comments

Comments
 (0)