Add workflows to create software PRs and GitHub releases (#1123)

* Add workflows to create software PR and release

* Fix job names

* Minor fix

* Rework workflows
This commit is contained in:
Vladimir Safonkin
2020-07-01 13:32:10 +00:00
committed by GitHub
parent c1ee9d8bc6
commit ba79bba9d5
4 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
name: Create GitHub release
on:
repository_dispatch:
types: [create-github-release]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create release for ${{ github.event.client_payload.ReleaseBranchName }}
uses: actions/create-release@v1.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.client_payload.ReleaseBranchName }}
release_name: ${{ github.event.client_payload.ReleaseTitle }}
body: ${{ github.event.client_payload.ReleaseBody }}
prerelease: ${{ github.event.client_payload.Prerelease }}
commitish: ${{ github.event.client_payload.Commitish }}