ci: Disable release comments on PRs and issues #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Github release | |
# Release workflow creates a new Github release | |
# with new version and updates changelog | |
on: | |
push: | |
branches: | |
- master | |
env: | |
FLUTTER_VERSION: "3.16.7" | |
jobs: | |
integration: | |
# Prevent release commits from triggering integration check | |
if: "!contains(github.event.head_commit.message, 'chore(release)')" | |
name: Run integration | |
uses: ./.github/workflows/integration.yml | |
release-version: | |
# Prevent release commits from triggering release again | |
if: "!contains(github.event.head_commit.message, 'chore(release)')" | |
name: Release new version | |
needs: integration | |
uses: dronetag/gha-shared/.github/workflows/create-release.yml@master | |
concurrency: release-version-${{ github.repository }} | |
with: | |
install-changelog-plugin: true | |
install-yq: true | |
must-release: false | |
create-github-release: false # Release performed by semantic-release | |
secrets: | |
github-token: ${{ secrets.RELEASE_PAT }} |