Skip to content

Commit ff8c660

Browse files
committed
fix enterprise workflow: drop secrets ref from job if
1 parent 73261ef commit ff8c660

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/build-enterprise.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,9 @@ jobs:
5252

5353
playwright-e2e-enterprise:
5454
# Run on PRs only if relevant files changed; always run on push-to-main,
55-
# cron, and manual dispatch. Auto-skipped when the secret is missing.
56-
if: |
57-
secrets.PREMIUM_KEY_ENTERPRISE != '' && (
58-
github.event_name != 'pull_request' ||
59-
needs.files-changed.outputs.proprietary == 'true'
60-
)
55+
# cron, and manual dispatch. Fork PRs without the secret will fail at
56+
# the compose step (PREMIUM_KEY empty) — that's intentional, not silent.
57+
if: github.event_name != 'pull_request' || needs.files-changed.outputs.proprietary == 'true'
6158
needs: files-changed
6259
runs-on: ubuntu-latest
6360
timeout-minutes: 45

0 commit comments

Comments
 (0)