mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-03 09:25:19 +00:00
auto merge code to pr branch
This commit is contained in:
parent
4ae5936f01
commit
95c21a5367
12
.github/workflows/merge_master_to_pr_branch.yml
vendored
12
.github/workflows/merge_master_to_pr_branch.yml
vendored
@ -11,14 +11,14 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Fetch all branches
|
||||
run: git fetch --all
|
||||
with:
|
||||
fetch-depth: 0 # Fetch all history for all branches and tags
|
||||
|
||||
- name: Check out pull_request
|
||||
run: git checkout pull_request
|
||||
|
||||
- name: Merge master into pull request
|
||||
run: |
|
||||
git checkout pull_request
|
||||
git merge origin/master
|
||||
run: git merge origin/master
|
||||
|
||||
- name: Push changes
|
||||
run: git push origin pull_request
|
||||
|
Loading…
x
Reference in New Issue
Block a user