Skip to content

Commit 83fb120

Browse files
committed
fix(ci): Run automated PR approval on pull_request: instead of pull_request_target:
1 parent 3fae904 commit 83fb120

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/approve-flake-lock-prs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Approve flake.lock PRs (still require 1 human approval)
55
permissions:
66
pull-requests: write
77
on:
8-
pull_request_target:
9-
paths:
10-
- 'flake.lock' # only run if flake.lock has changed
8+
pull_request:
9+
paths: # only run if flake.lock has changed
10+
- flake.lock
1111
jobs:
1212
approve-flake-lock-prs:
1313
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)