From 68d6f0223a027bbefada6836487aeab606de1dc0 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 25 Oct 2026 07:34:49 +0000 Subject: [PATCH 1/2] ci: exempt Dependabot PRs from release label requirement Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01QVWyF5mch4xBhr5Du2Zi4B --- .github/workflows/release-assistant.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-assistant.yml b/.github/workflows/release-assistant.yml index 3b72b948..0a32fdc3 100644 --- a/.github/workflows/release-assistant.yml +++ b/.github/workflows/release-assistant.yml @@ -15,7 +15,7 @@ jobs: analyze: runs-on: ubuntu-latest if: | - (github.event_name == 'pull_request_target' && github.event.pull_request.state == 'open' && github.head_ref != 'release-prep') + (github.event_name == 'pull_request_target' && github.event.pull_request.state == 'open' && github.head_ref != 'release-prep' && github.actor != 'dependabot[bot]') steps: - name: Analyze PR changes id: analysis @@ -197,10 +197,10 @@ jobs: }); release-prep-bypass: - if: github.event_name == 'pull_request_target' && github.head_ref == 'release-prep' + if: github.event_name == 'pull_request_target' && (github.head_ref == 'release-prep' || github.actor == 'dependabot[bot]') runs-on: ubuntu-latest steps: - - name: Set passing status for release-prep + - name: Set passing status for release-prep and Dependabot uses: actions/github-script@v9 with: script: | @@ -210,5 +210,5 @@ jobs: sha: context.payload.pull_request.head.sha, state: 'success', context: 'release-assistant/requirements', - description: 'Bypassed for release-prep PR' + description: 'Bypassed for release-prep and Dependabot PRs' }); From a30885f50df7e2e65ef75bd75be90b85deafe9cc Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 25 Oct 2026 07:41:06 +0000 Subject: [PATCH 2/2] ci: label Dependabot PRs with skip-release instead of exempting them Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01QVWyF5mch4xBhr5Du2Zi4B --- .github/dependabot.yml | 4 ++++ .github/workflows/release-assistant.yml | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 05f40cad..879b7e5e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,6 +2,8 @@ version: 2 updates: - package-ecosystem: github-actions directory: / + labels: + - skip-release schedule: interval: weekly groups: @@ -13,6 +15,8 @@ updates: directories: - /* - /unit-tests/* + labels: + - skip-release schedule: interval: weekly groups: diff --git a/.github/workflows/release-assistant.yml b/.github/workflows/release-assistant.yml index 0a32fdc3..3b72b948 100644 --- a/.github/workflows/release-assistant.yml +++ b/.github/workflows/release-assistant.yml @@ -15,7 +15,7 @@ jobs: analyze: runs-on: ubuntu-latest if: | - (github.event_name == 'pull_request_target' && github.event.pull_request.state == 'open' && github.head_ref != 'release-prep' && github.actor != 'dependabot[bot]') + (github.event_name == 'pull_request_target' && github.event.pull_request.state == 'open' && github.head_ref != 'release-prep') steps: - name: Analyze PR changes id: analysis @@ -197,10 +197,10 @@ jobs: }); release-prep-bypass: - if: github.event_name == 'pull_request_target' && (github.head_ref == 'release-prep' || github.actor == 'dependabot[bot]') + if: github.event_name == 'pull_request_target' && github.head_ref == 'release-prep' runs-on: ubuntu-latest steps: - - name: Set passing status for release-prep and Dependabot + - name: Set passing status for release-prep uses: actions/github-script@v9 with: script: | @@ -210,5 +210,5 @@ jobs: sha: context.payload.pull_request.head.sha, state: 'success', context: 'release-assistant/requirements', - description: 'Bypassed for release-prep and Dependabot PRs' + description: 'Bypassed for release-prep PR' });