mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 11:07:02 +00:00
[actions] Force push release docs branch on Create PR workflow (#11819)
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/create_pull_request.yml
vendored
2
.github/workflows/create_pull_request.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
run: |
|
||||
git checkout ${{ github.event.client_payload.ReleaseBranchName }}
|
||||
git branch ${{ github.event.client_payload.ReleaseBranchName }}-docs
|
||||
git push origin ${{ github.event.client_payload.ReleaseBranchName }}-docs
|
||||
git push origin ${{ github.event.client_payload.ReleaseBranchName }}-docs --force
|
||||
|
||||
- name: Create pull request for ${{ github.event.client_payload.ReleaseBranchName }}
|
||||
id: create-pr
|
||||
|
||||
Reference in New Issue
Block a user