Skip to content

ci: notify downstream repos on release - #1290

Open
gmaclennan wants to merge 3 commits into
mainfrom
ci/notify-downstream-on-release
Open

ci: notify downstream repos on release#1290
gmaclennan wants to merge 3 commits into
mainfrom
ci/notify-downstream-on-release

Conversation

@gmaclennan

Copy link
Copy Markdown
Member

Adds a notify-downstream job that fires a repository_dispatch (event type first-party-release) to downstream repos when @comapeo/core publishes, so they fast-track the dependency bump instead of waiting for their daily Dependabot run.

Pairs with the receiver workflow in digidem/comapeo-core-react-native#173. The downstream destinations are a matrix (owner/repo), so adding more later is a one-line change.

Requires: RELEASE_BOT_APP_ID + RELEASE_BOT_PRIVATE_KEY available to this repo, and the Releases bot installed on each downstream repo with Contents: write (needed to send the dispatch).

strategy:
fail-fast: false
matrix:
downstream:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lets add comapeo-cloud to this. I think Desktop and Mobile can pull it since they likely need more changes to update and pair it with feature releases

Suggested change
downstream:
downstream:
- owner: digidem
repo: comapeo-cloud

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good idea. I'm in the process of turning this into a shared action so there's only one place where we define the notification targets for all our deps

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.

2 participants