Skip to content

Commit 16ab1a9

Browse files
committed
Update
1 parent 516e0a5 commit 16ab1a9

3 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/alpha-release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,11 @@ concurrency:
1717

1818
jobs:
1919
# Alpha releases run unit tests first
20-
alpha-testing:
21-
name: Alpha Testing
22-
if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Alpha release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }}
23-
uses: ./.github/workflows/testing-strategy.yml
24-
with:
25-
test_stage: 'alpha'
26-
test_scope: 'unit'
2720

2821
alpha-release:
2922
name: Alpha Release
3023
# Only run if the last commit is not a release commit to avoid infinite loops
3124
if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Alpha release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }}
32-
needs: [alpha-testing]
3325
uses: ./.github/workflows/release-orchestrator.yml
3426
with:
3527
release_type: 'alpha'
@@ -43,3 +35,12 @@ jobs:
4335
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
4436
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4537
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
38+
39+
alpha-testing:
40+
name: Alpha Testing
41+
needs: alpha-release
42+
if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Alpha release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }}
43+
uses: ./.github/workflows/testing-strategy.yml
44+
with:
45+
test_stage: 'alpha'
46+
test_scope: 'unit'

.github/workflows/beta-release.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,10 @@ concurrency:
1616
cancel-in-progress: false
1717

1818
jobs:
19-
# Beta releases run comprehensive testing (unit + integration + E2E)
20-
beta-testing:
21-
name: Beta Testing
22-
if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Beta release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }}
23-
uses: ./.github/workflows/testing-strategy.yml
24-
with:
25-
test_stage: 'beta'
26-
test_scope: 'all'
27-
2819
beta-release:
2920
name: Beta Release
3021
# Only run if the last commit is not a release commit to avoid infinite loops
3122
if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Beta release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }}
32-
needs: [beta-testing]
3323
uses: ./.github/workflows/release-orchestrator.yml
3424
with:
3525
release_type: 'beta'
@@ -43,3 +33,12 @@ jobs:
4333
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
4434
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4535
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
36+
37+
beta-testing:
38+
name: Beta Testing
39+
needs: beta-release
40+
if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update API clients') && !contains(github.event.head_commit.message, 'Beta release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }}
41+
uses: ./.github/workflows/testing-strategy.yml
42+
with:
43+
test_stage: 'beta'
44+
test_scope: 'all'

.github/workflows/production-release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,9 @@ jobs:
5151
echo "should_release=true" >> $GITHUB_OUTPUT
5252
fi
5353
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-
6454
production-release:
6555
name: Production Release
66-
needs: [check-changes, production-testing]
56+
needs: [check-changes]
6757
# Only run if the last commit is not a release commit AND there are non-documentation changes
6858
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, '🎉') }}
6959
uses: ./.github/workflows/release-orchestrator.yml
@@ -141,10 +131,20 @@ jobs:
141131
2. Fix any issues that caused the release to fail in the test branch
142132
3. Re-test the changes thoroughly
143133
4. Merge this PR when ready to retry the production release
144-
134+
145135
**This PR uses the test branch to retry the failed production release.**" \
146136
--base main \
147137
--head "test" \
148138
--label "retry,release-failure,high-priority"
149139
env:
150140
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

Comments
 (0)