fixup: drop -priv

This commit is contained in:
Graham Christensen 2024-03-06 12:17:56 -05:00
parent d0115f624f
commit e23f5398df

View file

@ -20,7 +20,7 @@ jobs:
# Only intra-repo PRs are allowed to have PR artifacts uploaded # Only intra-repo PRs are allowed to have PR artifacts uploaded
# We only want to trigger once the upload once in the case the upload label is added, not when any label is added # We only want to trigger once the upload once in the case the upload label is added, not when any label is added
if: | if: |
github.event.pull_request.head.repo.full_name == 'DeterminateSystems/magic-nix-cache-priv' github.event.pull_request.head.repo.full_name == 'DeterminateSystems/magic-nix-cache'
&& ( && (
(github.event.action == 'labeled' && github.event.label.name == 'upload to s3') (github.event.action == 'labeled' && github.event.label.name == 'upload to s3')
|| (github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'upload to s3')) || (github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'upload to s3'))