-
Notifications
You must be signed in to change notification settings - Fork 3
ci: change-event-for-publish-snapshot #419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
WalkthroughAdjusts the condition for the trusted-publish job in .github/workflows/publish.yml to run on all non-push events by changing the if expression from github.event_name == 'workflow_call' to github.event_name != 'push'. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as GitHub Event
participant WF as publish.yml Workflow
participant TP as trusted-publish Job
Dev->>WF: Trigger workflow (event_name)
alt event_name != "push"
WF->>TP: Run trusted-publish
Note over TP: if condition satisfied
else event_name == "push"
WF--xTP: Skip trusted-publish
Note over WF: Condition not met
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Comment |
|
View your CI Pipeline Execution ↗ for commit b72ca28
☁️ Nx Cloud last updated this comment at |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #419 +/- ##
==========================================
+ Coverage 55.63% 56.19% +0.56%
==========================================
Files 32 32
Lines 2051 2091 +40
Branches 344 353 +9
==========================================
+ Hits 1141 1175 +34
- Misses 910 916 +6 🚀 New features to boost your workflow:
|
|
Deployed 2b4ab90 to https://ForgeRock.github.io/ping-javascript-sdk/pr-419/2b4ab909d147d43acd47fd8969d2a55c0c1fce2d branch gh-pages in ForgeRock/ping-javascript-sdk |
📦 Bundle Size Analysis📦 Bundle Size Analysis➖ No Changes➖ @forgerock/davinci-client - 34.5 KB 11 packages analyzed • Baseline from latest Legend🆕 New package ℹ️ How bundle sizes are calculated
🔄 Updated automatically on each push to this PR |
JIRA Ticket
n/a
Description
the event was wrong which made snapshots not work. sorry!
Summary by CodeRabbit