Repository navigation
feat: sync the readme-weaver workflow to subscribed repositories - #2
Merged
Merged
Conversation
Keep the readme-weaver caller workflow here and distribute it with files-sync to the repositories that embed common-markdown partials in their README. It lives outside .github/workflows so it does not run in this repository, which updates its own README through the readme-weaver pre-commit hook. pre-commit-hooks is the first subscriber.
3 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Distributes the readme-weaver caller workflow with files-sync instead of copying it into each repository by hand.
.github/files-sync/workflows/readme-weaver.yamlis the canonical caller ofdevops-roast/github-actions/.github/workflows/readme-weaver.yaml@main. It lives outside.github/workflowsso it does not run here: this repository keeps its own README up to date through the readme-weaver pre-commit hook..github/workflows/readme-weaver.yamlin subscribed repositories. Subscribing = add themd:includemarkers to the README (paths relative tocommon-markdown/, e.g.path="sponsorship.md") and add the repository to the list.devops-roast/pre-commit-hooks. The file is byte-identical to the one in chore: add readme-weaver workflow pre-commit-hooks#8, so if that PR is merged first the sync produces no diff there.Merge order
Definition of Done