diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35bbc4260..c2eacad98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,12 @@ concurrency: cancel-in-progress: true jobs: + # Bot-authored release pushes are verified by release-publish before publishing. verify: + if: >- + github.event_name != 'push' || + !(startsWith(github.event.head_commit.message, 'chore(release):') && + github.event.head_commit.author.username == 'agentcore-devx-automation[bot]') uses: ./.github/workflows/verify.yml permissions: contents: read @@ -23,7 +28,10 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} e2e: - if: github.event_name == 'push' + if: >- + github.event_name == 'push' && + !(startsWith(github.event.head_commit.message, 'chore(release):') && + github.event.head_commit.author.username == 'agentcore-devx-automation[bot]') uses: ./.github/workflows/e2e-test.yml permissions: id-token: write