Synchronizing Project Updates from Main Repo #1968
Closed
jamestouri
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
@jamestouri this seems like a reasonable high-level plan. If I understand correctly, does this mean that every commit will be sync'ed to the target repo? Also will the package structure look like for example apps stored in our main repo? Will they all be nested in a single package, or will they be flat |
Beta Was this translation helpful? Give feedback.
1 reply
-
Updates:
Next Steps:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Done! Thanks @jamestouri! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As projects to showcase our code and solutions become more mission critical working with customers, we need to maintain a high standard of quality with every project we show. Right now, we have a lot of projects.
We can create a workflow in the github actions repo that will be able to change the
The high level overview of this will essentially involve creating a workflow file in
.github/workflows
of the Medplum repo. And running that will run through changes in file paths and identifying if any of the projects in the main repo has been changed. If it has, the[actions/github-script](https://github.com/actions/github-script)
will call an API request to update the listening repositories. The listening repo will take a webhook payload and find out the changes to make, before creating a pull request.The breakdown of the steps will be as follows:
.github/workflows
directory. The file will define the workflow that will run when a pull request is merged into the main repo.Call the actions/checkout action to see the code changes
A few characteristics we will have in relation from an example project to the main repo that we need to think about:
npm i
ornpm run build
from the medplum root directory, if should build the example projects as wellBeta Was this translation helpful? Give feedback.
All reactions