Skip to content

Commit 15a170a

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 15a170a

2 files changed

Lines changed: 1 addition & 3 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: 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)