Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/files-sync-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ patterns:
# `common-markdown/` with `<!-- md:include start path="<file>.md" -->` and
# `<!-- md:include end -->` markers (paths are relative to
# `common-markdown/`). To subscribe a repository, add the markers to its
# README and list it here. This repository maintains its own README through
# the readme-weaver pre-commit hook instead.
# README and list it here. Whenever a partial changes, the
# readme-weaver-distribute workflow opens a pull request in every repository
# listed here. This repository maintains its own README through the
# readme-weaver pre-commit hook instead.
- files:
- from: .github/files-sync/workflows/readme-weaver.yaml
to: .github/workflows/readme-weaver.yaml
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/readme-weaver-distribute.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: readme-weaver-distribute

permissions:
contents: read

on:
push:
branches:
- "main"
paths:
- "common-markdown/**"
# new subscribers get their README woven right away
- ".github/files-sync-config.yaml"
workflow_dispatch:

jobs:
readme-weaver-distribute:
uses: devops-roast/github-actions/.github/workflows/readme-weaver-distribute.yaml@main
with:
partials_ref: ${{ github.sha }}
secrets: inherit