Skip to content

Commit 8b4da85

Browse files
committed
build: Only run release-ghcr on pull_request_target
The `pull_request` trigger tries to merge the base branch, and Hydra uses the commit tip, so nix will usually not resolve the correct artifact. `pull_request_target` uses the commit tip
1 parent c5133af commit 8b4da85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-ghcr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types:
66
- published
77
push: {}
8-
pull_request: {}
8+
pull_request_target: {}
99
workflow_dispatch: {}
1010
schedule:
1111
# Everyday at 4:00 AM UTC

0 commit comments

Comments
 (0)