mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #20166 from Homebrew/sync-default-branches-force
workflows/sync-default-branches: force push instead of force-with-lease.
This commit is contained in:
commit
3495ea576c
2
.github/workflows/sync-default-branches.yml
vendored
2
.github/workflows/sync-default-branches.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push target branch
|
- name: Push target branch
|
||||||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
||||||
run: git push origin "${TARGET_SHA}:refs/heads/${TARGET_BRANCH}" --force-with-lease
|
run: git push origin "${TARGET_SHA}:refs/heads/${TARGET_BRANCH}" --force
|
||||||
env:
|
env:
|
||||||
TARGET_SHA: ${{ steps.sha.outputs.target }}
|
TARGET_SHA: ${{ steps.sha.outputs.target }}
|
||||||
TARGET_BRANCH: ${{ steps.branches.outputs.target }}
|
TARGET_BRANCH: ${{ steps.branches.outputs.target }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user