Skip to content

Commit 050dea5

Browse files
authored
CI: Fix dependabot (#9)
#### Problem The dependabot job runs on the exact repo, which works, but might be error-prone if we copy the file. #### Summary of changes Since this is a bit error-prone, use the `repository_owner` instead.
1 parent 50f67e2 commit 050dea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88
jobs:
99
dependabot:
1010
runs-on: ubuntu-latest
11-
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'solana-program/stake-pool'
11+
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository_owner == 'solana-program'
1212
steps:
1313
- name: Enable auto-merge
1414
run: gh pr merge --auto --squash "$PR_URL"

0 commit comments

Comments
 (0)