-
Notifications
You must be signed in to change notification settings - Fork 172
chore: Update release.yml to release downstream repositories #3484
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3484 +/- ##
==========================================
+ Coverage 96.49% 96.54% +0.05%
==========================================
Files 804 805 +1
Lines 23090 23446 +356
Branches 7587 8106 +519
==========================================
+ Hits 22281 22637 +356
+ Misses 802 755 -47
- Partials 7 54 +47 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
steps: | ||
- name: Trigger release in downstream repository | ||
run: | | ||
curl -L \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is github-cli available in this environment: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows
Which you could use instead of raw curl commands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this particular action is only available as an extension: https://github.com/mdb/gh-dispatch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:(
Description
This updates the release workflow to subsequently run the release workflows in downstream repositories (currently only chat-components configured for testing).
See also cloudscape-design/chat-components#68 and cloudscape-design/actions#76
Approach based on https://medium.com/hostspaceng/triggering-workflows-in-another-repository-with-github-actions-4f581f8e0ceb
Related links, issue #, if available: AWSUI-60697, ajEoAR4R2fG4#temp:C:eGb718a2a8234034c4eaab90ccdd
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md
.CONTRIBUTING.md
.Security
checkSafeUrl
function.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.