2021-09-21 19:48:18 +00:00
|
|
|
name: sync-master-main
|
2024-04-02 13:22:09 +00:00
|
|
|
|
2021-09-21 19:48:18 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2024-03-26 17:19:53 +00:00
|
|
|
|
2024-04-02 13:22:09 +00:00
|
|
|
permissions: {}
|
2024-03-26 17:19:53 +00:00
|
|
|
|
2021-09-21 19:48:18 +00:00
|
|
|
jobs:
|
|
|
|
sync:
|
2024-04-02 13:22:09 +00:00
|
|
|
permissions:
|
|
|
|
contents: write
|
2021-09-21 19:48:18 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-03-18 19:29:57 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-09-21 19:48:18 +00:00
|
|
|
- name: update remote branch main
|
|
|
|
run: |
|
|
|
|
# overrides the remote branch (origin:github) `main`
|
|
|
|
git push origin --force master:main
|