Skip to content

Commit fd0e9b7

Browse files
committed
Apply root welcome page patch
1 parent 2d11218 commit fd0e9b7

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Apply root welcome page
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
apply:
12+
if: github.head_ref == 'feature/root-welcome-page-final'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
ref: feature/root-welcome-page-final
18+
- name: Apply patch
19+
run: python3 tools/apply_root_welcome.py
20+
- name: Commit clean result
21+
run: |
22+
rm .github/workflows/apply-root-welcome.yml
23+
rm tools/apply_root_welcome.py
24+
git config user.name github-actions[bot]
25+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
26+
git add -A
27+
git commit -m "Serve a tiny welcome page at root"
28+
git push origin HEAD:feature/root-welcome-page-final

0 commit comments

Comments
 (0)