From 1f9eab83ea7454693943f2f1382cb43ca56627b3 Mon Sep 17 00:00:00 2001 From: kirich1409 Date: Sun, 17 May 2026 20:16:29 +0300 Subject: [PATCH] Run CI / CodeQL / Dependency Review on develop pull requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repo uses a main (released) + develop (integration) branching model. The develop ruleset requires status checks Build Android, Build Docs, and Build iOS, but the workflows producing those checks were configured to trigger only on pull_request.branches: [main], so PRs targeting develop never ran them and were permanently merge-blocked. Add develop to the pull_request.branches list of ci.yml, docs.yml, codeql.yml, and dependency-review.yml. Add develop to push.branches for ci.yml and codeql.yml as well (post-merge integration validation). Leave docs.yml push.branches at main-only — the publish-docs job gates on github.event_name == 'push' and publishes to GitHub Pages, which must remain main-only. publish.yml stays main-only. No job, step, action, runner, permission, or concurrency change. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codeql.yml | 4 ++-- .github/workflows/dependency-review.yml | 2 +- .github/workflows/docs.yml | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f35f532..328bb40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ main ] + branches: [ main, develop ] pull_request: - branches: [ main ] + branches: [ main, develop ] permissions: contents: read diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9ae0ba7..67bbf0c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: CodeQL on: push: - branches: [ main ] + branches: [ main, develop ] pull_request: - branches: [ main ] + branches: [ main, develop ] schedule: - cron: "0 0 * * 0" # Every Sunday at midnight diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 4388ac5..7646f06 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -2,7 +2,7 @@ name: Dependency Review on: pull_request: - branches: [ main ] + branches: [ main, develop ] permissions: contents: read diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a5624cd..ad247c5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -7,6 +7,7 @@ on: pull_request: branches: - main + - develop tags: - "v[0-9]+.[0-9]+.[0-9]+" - "v[0-9]+.[0-9]+.[0-9]+-*"