Skip to content

Fix release condition to properly check commit messages #2

Fix release condition to properly check commit messages

Fix release condition to properly check commit messages #2

Workflow file for this run

name: Build and Release
on:
push:
branches:
- 'master'
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build.yml
release:
needs: build
if: github.ref == 'refs/heads/master' && contains(join(github.event.commits.*.message, ' '), '[release]')
uses: ./.github/workflows/release.yml
with:
should_release: true
secrets: inherit