mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 18:41:53 +08:00
Resolve possible conflicts in software update PR (#1394)
* Resolve possible conflicts in software update PR * Push updated release branch to repo * Setup committer's name and email * Minor fix * Add step to create branch for PR * Add pause before merging * Minor renaming * Add step to delete docs branch
This commit is contained in:
committed by
GitHub
parent
7eed5ae558
commit
dd518dff50
10
.github/workflows/create_pull_request.yml
vendored
10
.github/workflows/create_pull_request.yml
vendored
@@ -11,6 +11,14 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Clone release branch to create pull request
|
||||
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
|
||||
|
||||
- name: Create pull request for ${{ github.event.client_payload.ReleaseBranchName }}
|
||||
uses: actions/github-script@v2
|
||||
@@ -21,7 +29,7 @@ jobs:
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
title: "${{ github.event.client_payload.PullRequestTitle }}",
|
||||
head: "${{ github.event.client_payload.ReleaseBranchName }}",
|
||||
head: "${{ github.event.client_payload.ReleaseBranchName }}-docs",
|
||||
base: "${{ github.event.client_payload.PullRequestBase }}",
|
||||
body: `${{ github.event.client_payload.PullRequestBody }}`
|
||||
});
|
||||
Reference in New Issue
Block a user