Skip to content

Commit ad3214a

Browse files
authored
Create App_Header_Merge_Main_Into_update-app-headers
1 parent 5090b62 commit ad3214a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: App-Header: Merge main into update-app-headers
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'ct/**.sh'
9+
10+
jobs:
11+
merge-main:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v2
16+
17+
- name: Set up Git
18+
run: |
19+
git config --global user.name "GitHub Actions"
20+
git config --global user.email "[email protected]"
21+
22+
- name: Merge main into update-app-headers silently
23+
run: |
24+
git fetch origin
25+
git checkout update-app-headers
26+
git merge origin/main --no-ff --no-commit -m "Merge main into update-app-headers"
27+
git push origin update-app-headers > /dev/null 2>&1 || true
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)