-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add remaining repos to be updated when this workflow is triggered (#30)
* Add remaining repos to be updated when this workflow is triggered All of these repos have had the workflow and snippet added to them. Unfortunately, for this workflow to work, GitHub seems to need the repo list to be defined explicitly, instead of using `github.repository` or something else more generic. Using a matrix, we can iterate over the repo list in the steps section. Not sure if there is a better way to do this, though. * Update README and footer sections with template Also, add instructions on how to use the template when creating a new repo. * Document additional step for dynamic README Besides adding the workflow to the new repo being created, the new repo path needs to be added to the repo list matrix in the dispatch workflow. This way, GitHub will propagate the footer updates to all repos in the list.
- Loading branch information
Stefanni Brasil
authored
Mar 15, 2024
1 parent
738afc4
commit b895b4c
Showing
4 changed files
with
79 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: update-templates | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-templates: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
pages: write | ||
uses: thoughtbot/templates/.github/workflows/dynamic-readme.yaml@main | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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
This file contains 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
This file contains 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