Skip to content

Commit d9f8811

Browse files
committed
Don't push to ghcr on PR builds, after all
Turns out external contributors aren't allowed to push to GHCR, so their PRs don't get successful statuses on the docker action. That's annoying, so let's instead just build the image and not push it on PRs.
1 parent e5d699a commit d9f8811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/flake-part.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
inherit branch;
5555

5656
github = {
57-
enable = true;
57+
enable = !isPR;
5858
token = "$GH_TOKEN";
5959
};
6060

0 commit comments

Comments
 (0)