Skip to content

Commit

Permalink
ci: add paths-ignore to workflows (#6713)
Browse files Browse the repository at this point in the history
* chore: added paths-ignore

* chore: address comments
  • Loading branch information
jeluard authored Apr 26, 2024
1 parent 5bc27a0 commit e460bb1
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ on:
- stable
- unstable
- benchmark # For debugging
paths-ignore:
- 'dashboards/**'
- 'docs/**'
pull_request:
branches:
- stable
- unstable
paths-ignore:
- 'dashboards/**'
- 'docs/**'
workflow_dispatch:

jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
paths-ignore:
- 'dashboards/**'
pull_request:
paths-ignore:
- 'dashboards/**'

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches:
- unstable
paths-ignore:
- 'dashboards/**'
- 'docs/**'

jobs:
npm:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-sim-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
paths-ignore:
- 'dashboards/**'
- 'docs/**'
pull_request:
paths-ignore:
- 'dashboards/**'
- 'docs/**'
workflow_dispatch:

env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
paths-ignore:
- 'dashboards/**'
- 'docs/**'
pull_request:
paths-ignore:
- 'dashboards/**'
- 'docs/**'
workflow_dispatch:
inputs:
debug:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ on:
push:
# We intentionally don't run push on feature branches. See PR for rational.
branches: [unstable, stable]
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
workflow_dispatch:

jobs:
Expand Down

0 comments on commit e460bb1

Please sign in to comment.