|
51 | 51 | echo "should_release=true" >> $GITHUB_OUTPUT |
52 | 52 | fi |
53 | 53 |
|
54 | | - # Production releases run full security and compliance testing |
55 | | - production-testing: |
56 | | - name: Production Testing (Security & Compliance) |
57 | | - needs: check-changes |
58 | | - if: ${{ needs.check-changes.outputs.should_release == 'true' && !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Production release') && !contains(github.event.head_commit.message, '🎉') }} |
59 | | - uses: ./.github/workflows/testing-strategy.yml |
60 | | - with: |
61 | | - test_stage: "production" |
62 | | - test_scope: "all" |
63 | | - |
64 | 54 | production-release: |
65 | 55 | name: Production Release |
66 | | - needs: [check-changes, production-testing] |
| 56 | + needs: [check-changes] |
67 | 57 | # Only run if the last commit is not a release commit AND there are non-documentation changes |
68 | 58 | if: ${{ needs.check-changes.outputs.should_release == 'true' && !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Production release') && !contains(github.event.head_commit.message, '🎉') }} |
69 | 59 | uses: ./.github/workflows/release-orchestrator.yml |
@@ -141,10 +131,20 @@ jobs: |
141 | 131 | 2. Fix any issues that caused the release to fail in the test branch |
142 | 132 | 3. Re-test the changes thoroughly |
143 | 133 | 4. Merge this PR when ready to retry the production release |
144 | | - |
| 134 | +
|
145 | 135 | **This PR uses the test branch to retry the failed production release.**" \ |
146 | 136 | --base main \ |
147 | 137 | --head "test" \ |
148 | 138 | --label "retry,release-failure,high-priority" |
149 | 139 | env: |
150 | 140 | GH_TOKEN: ${{ steps.generate_token.outputs.token }} |
| 141 | + |
| 142 | + # Production releases run full security and compliance testing |
| 143 | + production-testing: |
| 144 | + name: Production Testing (Security & Compliance) |
| 145 | + needs: [check-changes, production-release] |
| 146 | + if: ${{ needs.check-changes.outputs.should_release == 'true' && !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Production release') && !contains(github.event.head_commit.message, '🎉') }} |
| 147 | + uses: ./.github/workflows/testing-strategy.yml |
| 148 | + with: |
| 149 | + test_stage: "production" |
| 150 | + test_scope: "all" |
0 commit comments