mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-27 10:20:14 +00:00
Fix failing action when PR is already open. (#5380)
This commit is contained in:
parent
0f17d05c48
commit
c558886610
6
.github/workflows/autoroll.yml
vendored
6
.github/workflows/autoroll.yml
vendored
@ -47,6 +47,10 @@ jobs:
|
|||||||
if: steps.update_dependencies.outputs.changed == 'true'
|
if: steps.update_dependencies.outputs.changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
git push --force --set-upstream origin roll_deps
|
git push --force --set-upstream origin roll_deps
|
||||||
gh pr create --label 'kokoro:run' --base main -f -r s-perron
|
# Create a PR. If it aready exists, the command fails, so ignore the return code.
|
||||||
|
gh pr create --base main -f -r s-perron || true
|
||||||
|
# Add the 'kokoro:run' label so that the kokoro tests will be run.
|
||||||
|
gh pr edit --add-label 'kokoro:run'
|
||||||
|
gh pr merge --auto --squash
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
Loading…
Reference in New Issue
Block a user