SC-12484 SC-CDK Workflow test 5 - semver #27
Workflow file for this run
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: sonar-release | |
# This workflow is triggered when publishing a new GitHub release | |
# yamllint disable-line rule:truthy | |
on: | |
release: | |
types: | |
- published | |
- released | |
env: | |
PYTHONUNBUFFERED: 1 | |
jobs: | |
release: | |
permissions: | |
id-token: write | |
contents: write | |
uses: SonarSource/gh-action_release/.github/workflows/main.yaml@master | |
with: | |
publishToPyPI: ${{ !github.event.release.prerelease }} # Only publish to PyPI for non-prerelease releases | |
publishToTestPyPI: ${{ github.event.release.prerelease }} | |
skipPythonReleasabilityChecks: true |