diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 0e5182e..db9d108 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -3,6 +3,9 @@ name: Code Quality on: pull_request: branches: [ mainline, release, 'patch_*' ] + push: + # Run on mainline pushes to populate the Actions cache that PRs restore from. + branches: [ mainline ] workflow_call: inputs: branch: diff --git a/.github/workflows/release_bump.yml b/.github/workflows/release_bump.yml index 672dc50..547db83 100644 --- a/.github/workflows/release_bump.yml +++ b/.github/workflows/release_bump.yml @@ -14,6 +14,7 @@ on: - major permissions: + id-token: write contents: write pull-requests: write diff --git a/.github/workflows/release_publish.yml b/.github/workflows/release_publish.yml index 273aa2a..2235476 100644 --- a/.github/workflows/release_publish.yml +++ b/.github/workflows/release_publish.yml @@ -34,6 +34,13 @@ jobs: with: tag: ${{ needs.TagRelease.outputs.tag }} + ManualTestGate: + needs: [TagRelease, BuildInstaller] + runs-on: ubuntu-latest + environment: release-gate + steps: + - run: echo "Manual testing approved for ${{ needs.TagRelease.outputs.tag }}" + PreRelease: needs: [TagRelease, UnitTests] uses: aws-deadline/.github/.github/workflows/reusable_prerelease.yml@mainline @@ -70,14 +77,14 @@ jobs: IsCondaReady: needs: Publish runs-on: ubuntu-latest - environment: release + environment: release-gate name: “Is the Conda Package available in all ProdWaves and have you ran any required manual tests?” steps: - run: | : ReleaseInstaller: - needs: [TagRelease, IsCondaReady] + needs: [TagRelease, IsCondaReady, ManualTestGate] uses: aws-deadline/.github/.github/workflows/reusable_release_installers.yml@mainline secrets: inherit permissions: