Update workflows
This commit is contained in:
parent
64178c87e0
commit
f3f5770a0e
2 changed files with 17 additions and 8 deletions
12
.github/workflows/create-pull-request-multi.yml
vendored
12
.github/workflows/create-pull-request-multi.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [create-pull-request-multi]
|
types: [create-pull-request-multi]
|
||||||
name: create-pull-request action testing workflow
|
name: create-pull-request workflow
|
||||||
jobs:
|
jobs:
|
||||||
createPullRequest:
|
createPullRequest:
|
||||||
name: Testing on ${{ matrix.platform }}
|
name: Testing on ${{ matrix.platform }}
|
||||||
|
@ -10,7 +10,7 @@ jobs:
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v1
|
||||||
- name: Create report file
|
- name: Create report file
|
||||||
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macos-latest'
|
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macos-latest'
|
||||||
run: touch report.txt
|
run: touch report.txt
|
||||||
|
@ -23,6 +23,10 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
COMMIT_MESSAGE: Add report file
|
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_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: '[Example] Add report file'
|
||||||
PULL_REQUEST_TITLE: '[Test] Add report file'
|
PULL_REQUEST_LABELS: report, automated pr
|
||||||
|
PULL_REQUEST_ASSIGNEES: peter-evans
|
||||||
|
PULL_REQUEST_REVIEWERS: peter-evans
|
||||||
|
PULL_REQUEST_MILESTONE: 1
|
||||||
|
PULL_REQUEST_BRANCH: example-patches
|
||||||
BRANCH_SUFFIX: 'timestamp'
|
BRANCH_SUFFIX: 'timestamp'
|
||||||
|
|
13
.github/workflows/create-pull-request.yml
vendored
13
.github/workflows/create-pull-request.yml
vendored
|
@ -1,12 +1,12 @@
|
||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [create-pull-request]
|
types: [create-pull-request]
|
||||||
name: create-pull-request action testing workflow
|
name: create-pull-request workflow
|
||||||
jobs:
|
jobs:
|
||||||
createPullRequest:
|
createPullRequest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v1
|
||||||
- name: Create report file
|
- name: Create report file
|
||||||
run: touch report.txt
|
run: touch report.txt
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
|
@ -15,5 +15,10 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
COMMIT_MESSAGE: Add report file
|
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_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: '[Example] Add report file'
|
||||||
PULL_REQUEST_TITLE: '[Test] Add report file'
|
PULL_REQUEST_LABELS: report, automated pr
|
||||||
|
PULL_REQUEST_ASSIGNEES: peter-evans
|
||||||
|
PULL_REQUEST_REVIEWERS: peter-evans
|
||||||
|
PULL_REQUEST_MILESTONE: 1
|
||||||
|
PULL_REQUEST_BRANCH: example-patches
|
||||||
|
BRANCH_SUFFIX: short-commit-hash
|
||||||
|
|
Loading…
Reference in a new issue