Update main.workflow

This commit is contained in:
Peter Evans 2019-07-21 13:31:41 +09:00 committed by GitHub
parent 16d0603e20
commit abaaf77b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
.github/main.workflow vendored Normal file
View File

@ -0,0 +1,24 @@
workflow "Action testing workflow" {
on = "push"
resolves = "Create Pull Request"
}
action "Create report file" {
uses = "finnp/create-file-action@1.0.0"
env = {
FILE_NAME = "report.md"
FILE_DATA = "#Report\nThis is created to test create-pull-request action."
}
}
action "Create Pull Request" {
needs = "Create report file"
uses = "./"
secrets = ["GITHUB_TOKEN"]
env = {
PULL_REQUEST_BRANCH = "test-patches"
COMMIT_MESSAGE = "Add report file"
PULL_REQUEST_TITLE = "[Test] Add report file"
PULL_REQUEST_BODY = "This PR is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)."
}
}