-
-
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.
Update dynamic README workflow to open a Pull Request (#31)
* Update dynamic render workflow Some repositories have a protected branch rule. That means our workflow won't work because commiting directly to main is not allowed. To prevent that, the workflow will now open a PR for the changes. * Update workflow example We only want to run this workflow if the README has changed, not on every change. * Removing leading / from snippet As @nickcharlton pointed out, > the leading / implies to me the start of a filesystem, which it presumably isn't. I tested removing it and it worked, so it was probably needed when I was testing things but it's not needed anymore. * Use latest workflow version
- Loading branch information
Stefanni Brasil
authored
Apr 10, 2024
1 parent
47166e2
commit 24622fa
Showing
3 changed files
with
24 additions
and
18 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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
name: update-templates | ||
|
||
on: | ||
on: | ||
push: | ||
paths: | ||
- README.md | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
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