This GitHub Action creates a release based on the commits in a pull request.
Required The GitHub token with repo scope.
Optional If set to true, the action will create a release. Default is ${{ github.event.pull_request.merged }}
.
The URL of the created release.
name: Create Release
on:
pull_request:
types: [closed]
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
uses: ./ # Use the path to your action
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Volker Schmitz