diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0c36f86..e8a465b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,12 +5,14 @@ on: workflow_run: workflows: [OpenTofu CI] types: [completed] + branches: [main] # Disable permissions for all available scopes permissions: {} jobs: semantic-release: + #TODO: Add condition to only run on main if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Release uses: 3ware/workflows/.github/workflows/release.yaml@30a4a9c7bc1b02f87df2196194d62668f554004e # v4.1.0