Bumps the github-actions group with 1 update: [knope-dev/action](https://github.com/knope-dev/action). Updates `knope-dev/action` from 2.1.0 to 2.1.2 - [Release notes](https://github.com/knope-dev/action/releases) - [Commits](https://github.com/knope-dev/action/compare/407e9ef7c272d2dd53a4e71e39a7839e29933c48...19617851f9f13ab2f27a05989c55efb18aca3675) --- updated-dependencies: - dependency-name: knope-dev/action dependency-version: 2.1.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: haz <[email protected]>
30 lines
679 B
YAML
30 lines
679 B
YAML
name: Release
|
|
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
branches: [dev]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
release:
|
|
if: github.head_ref == 'release' && github.event.pull_request.merged == true
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- uses: knope-dev/action@19617851f9f13ab2f27a05989c55efb18aca3675 # v2.1.2
|
|
with:
|
|
version: 0.22.1
|
|
|
|
- name: Create Release
|
|
run: knope release --verbose
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|