Skip to content

Commit 283362e

Browse files
authored
Fix Dependabot auto-merge repository context
Set GH_REPO so gh commands can operate without a checked-out repository.
1 parent e959094 commit 283362e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/dependabot-automerge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- name: Merge Dependabot pull requests after CI passes
1919
env:
2020
GH_TOKEN: ${{ github.token }}
21+
GH_REPO: ${{ github.repository }}
2122
RUN_PULL_REQUESTS: ${{ toJson(github.event.workflow_run.pull_requests) }}
2223
run: |
2324
PR_NUMBERS="$(python - <<'PY'

0 commit comments

Comments
 (0)