Skip to content

Commit

Permalink
CI: small update to auto dep GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rkingsbury committed Aug 7, 2023
1 parent 0d0fdee commit 70490be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/upgrade_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Only open a PR if the branch is not attached to an existing one
# note that this auto-created PR will not trigger the testing workflow, which
# is an intentional limitation imposed by GitHub. See
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
# The simplest workaround is to close and immediately re-open the Auto PR
run: |
PR=$(gh pr list --head auto-dependency-upgrades --json number -q '.[0].number')
if [ -z $PR ]; then
Expand Down

0 comments on commit 70490be

Please sign in to comment.