From 0e98f0e3beddfb1173d2e7710170096febb34739 Mon Sep 17 00:00:00 2001 From: Johnny Huynh <27847622+johnnyhuy@users.noreply.github.com> Date: Sat, 15 Aug 2026 10:22:16 +1000 Subject: [PATCH] fix(ci): allow release PR checks Use the repository's contributor approval policy for native pull request checks instead of dispatching a second, unassociated CI run. Keep approval required only for first-time contributors who are new to GitHub. Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 1 - .github/workflows/release-please.yml | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8f4474..3782829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,6 @@ name: CI on: - workflow_dispatch: pull_request: branches: [main] push: diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8ef562c..1aa4502 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -5,7 +5,6 @@ on: branches: [main] permissions: - actions: write contents: write pull-requests: write @@ -13,14 +12,8 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - id: release - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 + - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 with: config-file: release-please-config.json manifest-file: .release-please-manifest.json target-branch: main - - name: Run CI for release PR - if: ${{ steps.release.outputs.prs_created == 'true' }} - env: - GH_TOKEN: ${{ github.token }} - run: gh workflow run ci.yml --repo ${{ github.repository }} --ref release-please--branches--main