Skip to content

Commit df731f0

Browse files
Merge pull request #2910 from VWS-Python/fix/dependabot-actor-check
fix: use pull_request.user.login instead of github.actor for bot check
2 parents 8a6454c + 15a170a commit df731f0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/dependabot-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
jobs:
1111
dependabot:
1212
runs-on: ubuntu-latest
13-
if: github.actor == 'dependabot[bot]'
13+
if: github.event.pull_request.user.login == 'dependabot[bot]'
1414
steps:
1515
- name: Enable auto-merge for Dependabot PRs
1616
run: gh pr merge --auto --merge "$PR_URL"

zizmor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ rules:
44
disable: true
55
cache-poisoning:
66
disable: true
7-
bot-conditions:
8-
disable: true
97
dependabot-cooldown:
108
disable: true
119
superfluous-actions:

0 commit comments

Comments
 (0)