Skip to content

Commit d7b7db7

Browse files
committed
fix: use pull_request.user.login instead of github.actor for bot check (fixes adamtheturtle/literalizer#146)
Made-with: Cursor
1 parent 8a6454c commit d7b7db7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ rules:
55
cache-poisoning:
66
disable: true
77
bot-conditions:
8-
disable: true
8+
disable: false
99
dependabot-cooldown:
1010
disable: true
1111
superfluous-actions:

0 commit comments

Comments
 (0)