Skip to content

Commit 7065e96

Browse files
authored
Reenable snapshot releases (#2882)
## Summary: Turn PR snapshot releases back on Issue: FEI-7341 ## Test plan: Author: marcysutton Reviewers: beaesguerra Required Reviewers: Approved By: beaesguerra Checks: ✅ 12 checks were successful, ⏭️ 3 checks have been skipped Pull Request URL: #2882
1 parent c6b38e2 commit 7065e96

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.changeset/five-tables-end.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/publish.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,10 @@ jobs:
156156
# PR code in a host applicaiton without doing a release.
157157
publish_snapshot:
158158
name: Publish npm snapshot
159-
# [FEI-7341] DISABLED: Snapshots temporarily disabled due to security concerns (shai-halud worm)
160-
# To re-enable, replace the condition below with the original multi-line condition
161-
if: false
162-
# Original condition (commented out):
163-
# if: |
164-
# (github.event_name == 'workflow_dispatch' && inputs.run_type == 'snapshot') ||
165-
# (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'changeset-release/'))
159+
# We don't publish snapshots on Changeset "Version Packages" PRs
160+
if: |
161+
(github.event_name == 'workflow_dispatch' && inputs.run_type == 'snapshot') ||
162+
(github.event_name == 'pull_request' && !startsWith(github.head_ref, 'changeset-release/'))
166163
runs-on: ${{ matrix.os }}
167164
permissions:
168165
id-token: write # required for publishing to npm with provenance

0 commit comments

Comments
 (0)