Convert main.workflow to v2 yml

This commit is contained in:
Peter Evans 2019-08-12 14:32:59 +09:00
parent 9a709f0173
commit 0f3781327e
2 changed files with 20 additions and 24 deletions

20
.github/workflows/push.yml vendored Normal file
View file

@ -0,0 +1,20 @@
on: push
name: create-pull-request action testing workflow
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Create report file
uses: finnp/create-file-action@1.0.0
env:
FILE_DATA: This is created to test create-pull-request action.
FILE_NAME: report.txt
- name: Create Pull Request
uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMIT_MESSAGE: Add report file
PULL_REQUEST_BODY: This PR is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request).
PULL_REQUEST_BRANCH: test-patches
PULL_REQUEST_TITLE: '[Test] Add report file'