Update README

This commit is contained in:
Peter Evans 2019-07-16 20:42:29 +09:00
parent 06a212202f
commit 83e2ff790e
2 changed files with 4 additions and 1 deletions

View file

@ -55,7 +55,7 @@ action "Create Pull Request" {
uses = "peter-evans/create-pull-request@v1.0.0" uses = "peter-evans/create-pull-request@v1.0.0"
secrets = ["GITHUB_TOKEN"] secrets = ["GITHUB_TOKEN"]
env = { env = {
PULL_REQUEST_BRANCH = "auto-branch" PULL_REQUEST_BRANCH = "my-patches"
COMMIT_MESSAGE = "Auto-modify files by my-file-modifier-action" COMMIT_MESSAGE = "Auto-modify files by my-file-modifier-action"
PULL_REQUEST_TITLE = "Changes from my-file-modifier-action" PULL_REQUEST_TITLE = "Changes from my-file-modifier-action"
PULL_REQUEST_BODY = "This is an auto-generated PR with changes from my-file-modifier-action" PULL_REQUEST_BODY = "This is an auto-generated PR with changes from my-file-modifier-action"
@ -63,6 +63,9 @@ action "Create Pull Request" {
} }
``` ```
This configuration will create pull requests that look like this:
![Pull Request Example](pull-request-example.png?raw=true)
## License ## License
MIT License - see the [LICENSE](LICENSE) file for details MIT License - see the [LICENSE](LICENSE) file for details

BIN
pull-request-example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB