Skip to content

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

Merged
merged 2 commits into from
May 26, 2025

Conversation

gethinwebster
Copy link
Member

@gethinwebster gethinwebster commented May 8, 2025

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

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@gethinwebster gethinwebster requested a review from a team as a code owner May 8, 2025 14:16
@gethinwebster gethinwebster requested review from pan-kot and removed request for a team May 8, 2025 14:16
Copy link

codecov bot commented May 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.54%. Comparing base (5024307) to head (986dc51).
Report is 40 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

pan-kot
pan-kot previously approved these changes May 12, 2025
steps:
- name: Trigger release in downstream repository
run: |
curl -L \
Copy link
Member

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

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:(

@gethinwebster gethinwebster removed this pull request from the merge queue due to a manual request May 12, 2025
@gethinwebster gethinwebster added this pull request to the merge queue May 26, 2025
Merged via the queue into main with commit 250c45e May 26, 2025
39 checks passed
@gethinwebster gethinwebster deleted the gethinwebster-patch-1 branch May 26, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants