Skip to content

Commit d21b71f

Browse files
committed
fix(release): move pre-checks to commit-checks
1 parent f8990c4 commit d21b71f

File tree

6 files changed

+8
-25
lines changed

6 files changed

+8
-25
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name: Vulnerability Scan with CodeQL
1313

1414
on:
1515
push:
16-
branches: [ "main" ]
16+
branches: [ "main", "release-please--branches--main"]
1717
pull_request:
1818
branches: [ "main" ]
1919
schedule:

.github/workflows/detekt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name: Vulnerability Scan with Detekt
2020
on:
2121
# Triggers the workflow on push or pull request events but only for default and protected branches
2222
push:
23-
branches: [ "main" ]
23+
branches: [ "main", "release-please--branches--main"]
2424
pull_request:
2525
branches: [ "main" ]
2626
schedule:

.github/workflows/e2e-test-fusionauth-latest-android-matrix.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
name: E2E Test with latest FusionAuth
1010

1111
on:
12+
# Triggers the workflow on push or pull request events but only for default and protected branches
13+
push:
14+
branches: [ "release-please--branches--main"]
1215
# Triggers the workflow on pull request events but only for default and protected branches
1316
pull_request:
1417
branches: [ "main" ]

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name: Check Code Quality with Android Lint
1616
on:
1717
# Triggers the workflow on push or pull request events but only for default and protected branches
1818
push:
19-
branches: [ "main" ]
19+
branches: [ "main", "release-please--branches--main"]
2020
pull_request:
2121
branches: [ "main" ]
2222
# Allows you to run this workflow manually from the Actions tab

.github/workflows/mobsf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Vulnerability Scan with MobSF
77

88
on:
99
push:
10-
branches: [ "main" ]
10+
branches: [ "main", "release-please--branches--main"]
1111
pull_request:
1212
branches: [ "main" ]
1313
schedule:

.github/workflows/release.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -48,37 +48,17 @@ jobs:
4848
gh label create "autorelease: snapshot" -c D4C5F9 -d "release-please PR tagging - Ready for release" || true
4949
gh label create "autorelease: published" -c 0E8A16 -d "release-please PR tagging - Released" || true
5050
51-
# This job runs a CodeQL scan as a prerequisite for the prerelease-prep
52-
codeql:
53-
name: Run Prerelease CodeQL Package Scan
54-
uses: ./.github/workflows/codeql.yml
55-
56-
# This job runs a detekt scan as a prerequisite for the prerelease-prep
57-
detekt:
58-
name: Run Prerelease CodeQL Package Scan
59-
uses: ./.github/workflows/detekt.yml
60-
6151
# This job runs a simple E2E test with the latest FusionAuth and iOS version as a prerequisite for the prerelease-prep
6252
initial-e2e-test:
6353
name: Run Prerelease E2E Tests
6454
uses: ./.github/workflows/e2e-test-fusionauth-latest-android-latest.yml
6555

66-
# This job runs a Lint scan as a prerequisite for the prerelease-prep
67-
lint:
68-
name: Run Prerelease Lint
69-
uses: ./.github/workflows/lint.yml
70-
71-
# This job runs a MobSF scan as a prerequisite for the prerelease-prep
72-
mobsf:
73-
name: Run Prerelease MobSF Scan
74-
uses: ./.github/workflows/mobsf.yml
75-
7656
# This job creates or finalizes a prerelease pull request or finalizes a release pull request
7757
# and provides the necessary outputs for the subsequent jobs
7858
prerelease-prep:
7959
name: Create Prerelease Pull Request
8060
runs-on: ubuntu-latest
81-
needs: [ label-check, codeql, detekt, initial-e2e-test, lint, mobsf ]
61+
needs: [ label-check, initial-e2e-test ]
8262
outputs:
8363
# This output is used to determine if a release was created
8464
releases_created: ${{ steps.release.outputs.releases_created }}

0 commit comments

Comments
 (0)