diff --git a/.github/workflows/dependabot-sync.yml b/.github/workflows/dependabot-sync.yml index dd48129348c..f03b11c533d 100644 --- a/.github/workflows/dependabot-sync.yml +++ b/.github/workflows/dependabot-sync.yml @@ -6,6 +6,8 @@ on: pull_request: branches: - master + - 3008.x + - 3007.x - 3006.x permissions: @@ -14,8 +16,10 @@ permissions: jobs: sync-requirements: name: Sync .lock files - # Trigger for any dependabot actor - if: contains(github.actor, 'dependabot') || github.event_name == 'workflow_dispatch' + # Trigger for dependabot, and for the salt-pr-bot rebases that re-push + # dependabot branches (github.actor is salt-pr-bot[bot] on those events, + # which otherwise skips this job and leaves the lock files stale). + if: contains(github.actor, 'dependabot') || contains(github.actor, 'salt-pr-bot') || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest environment: workflow-restart steps: