Skip to content

Commit f39d491

Browse files
committed
feat(ci): fix dependabot auto-merge workflow
1 parent 5e1eaa7 commit f39d491

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: Dependabot Auto-Merge
2+
on: pull_request
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
27

38
jobs:
49
dependabot:
510
runs-on: ubuntu-latest
6-
if: ${{ github.actor == 'dependabot[bot]' }}
11+
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'bee-san/RustScan'
712
steps:
813
- name: Enable auto-merge for Dependabot PRs
914
run: |

0 commit comments

Comments
 (0)