Skip to content

Commit da4a2b4

Browse files
committed
feat: add CI workflow to handle documentation-only pull requests
1 parent cb6b435 commit da4a2b4

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci-skip.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
# Companion to ci.yml. When a pull request only touches documentation or other
4+
# path-ignored files, ci.yml is skipped entirely and its required "Shellcheck"
5+
# check never reports — which blocks the PR from merging. This workflow runs on
6+
# exactly those ignored paths and emits a passing check with the same job name,
7+
# so the required status is always satisfied without a manual bypass.
8+
9+
on:
10+
pull_request:
11+
paths:
12+
- '**.md'
13+
- 'LICENSE'
14+
- '.github/FUNDING.yml'
15+
16+
jobs:
17+
shellcheck:
18+
name: Shellcheck
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
steps:
23+
- name: No shell scripts changed
24+
run: echo "Documentation-only change; no shell scripts to lint."

0 commit comments

Comments
 (0)