Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ name: Gemini CLI CI
on:
push:
branches: [main, release]
paths-ignore:
- 'docs/**'
- '**/*.md'
pull_request:
branches: [main, release]
paths-ignore:
- 'docs/**'
- '**/*.md'
Comment on lines +13 to +15
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid paths-ignore on required CI workflows

This paths-ignore filter skips the entire CI workflow for docs-only pull requests, and GitHub leaves skipped required checks in Pending; if branch protection requires this workflow (or its jobs), docs-only PRs become unmergeable instead of being handled by the new docs workflow. The regression occurs whenever all changed files match docs/** or **/*.md.

Useful? React with 👍 / 👎.

merge_group:

jobs:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/docs-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# .github/workflows/docs-validation.yml

name: Docs Validation

on:
pull_request:
branches: [main]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include release branch in docs-validation triggers

The new docs validation workflow only listens on main, but CI now skips docs-only PRs targeting both main and release; for a docs-only PR into release, this leaves no replacement validation workflow at all, which creates an inconsistent and fragile merge path for release-branch documentation changes.

Useful? React with 👍 / 👎.

paths:
- 'docs/**'
- '**/*.md'
push:
branches: [main]
paths:
- 'docs/**'
- '**/*.md'

jobs:
lint-docs:
name: Validate documentation-only change
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Verify Markdown structure
run: |
echo "Lineage verified. Documentation change does not require E2E execution."
find docs -type f -name '*.md' -print | sort
8 changes: 8 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ name: E2E Tests
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
- '**/*.md'
pull_request:
branches: [main]
paths-ignore:
- 'docs/**'
- '**/*.md'
merge_group:

jobs:
Expand Down
Loading