mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Merge pull request #12935 from AlexSCorey/fixDependabotWorflow
Fixes workflow that updates dependabot prs
This commit is contained in:
11
.github/workflows/update_dependabot_prs.yml
vendored
11
.github/workflows/update_dependabot_prs.yml
vendored
@@ -19,8 +19,11 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
OWNER: ${{ github.repository_owner }}
|
OWNER: ${{ github.repository_owner }}
|
||||||
REPO: ${{ github.event.repository.name }}
|
REPO: ${{ github.event.repository.name }}
|
||||||
BRANCH: ${{github.event.pull_request.head.ref}}
|
PR: ${{github.event.pull_request.number}}
|
||||||
PR: ${{github.event.pull_request}}
|
PR_BODY: ${{github.event.pull_request.body}}
|
||||||
run: |
|
run: |
|
||||||
gh pr checkout ${{ env.BRANCH }}
|
gh pr checkout ${{ env.PR }}
|
||||||
gh pr edit --body "${{ env.PR }}\nBug, Docs Fix or other nominal change"
|
echo "${{ env.PR_BODY }}" > my_pr_body.txt
|
||||||
|
echo "" >> my_pr_body.txt
|
||||||
|
echo "Bug, Docs Fix or other nominal change" >> my_pr_body.txt
|
||||||
|
gh pr edit ${{env.PR}} --body-file my_pr_body.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user