-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.13 KB
/
Copy pathci-passthrough.yml
File metadata and controls
31 lines (29 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: CI
# Companion to ci.yml. ci.yml uses paths-ignore for the extension and the
# JetBrains plugin, so an extension-only or plugin-only change does not run it.
# If `check` is a required status check on a protected branch, that would leave
# those PRs "Expected - waiting for status to be reported" forever.
#
# This reports the SAME check name (job `check`) as an instant success for
# exactly those paths, so a required `check` always resolves - real npm work runs
# via ci.yml when npm code changes, and this no-op stands in otherwise. Keep the
# workflow name and the job id identical to ci.yml so both produce the same check.
#
# These paths are the exact complement of ci.yml's paths-ignore; ci.yml enforces that.
on:
push:
branches: [main, develop]
paths:
- 'packages/vscode/**'
- 'packages/jetbrains/**'
- 'packages/browser-extension/**'
pull_request:
paths:
- 'packages/vscode/**'
- 'packages/jetbrains/**'
- 'packages/browser-extension/**'
jobs:
check:
runs-on: ubuntu-latest
steps:
- run: echo "No npm-affecting changes; npm CI (ci.yml) is not required for this change."