Skip to content

Commit bd3f3ed

Browse files
authored
Merge pull request #459 from 1Password/mrj/fix-nix-ci
fix(ci): Run automated PR approval on `pull_request:` instead of `pull_request_target:`
2 parents 3fae904 + 83fb120 commit bd3f3ed

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)