ci: do not run workflows for etc/schema.json

As it is rather a documentation file than code
pull/13541/head
Philippe Antoine 1 year ago committed by Victor Julien
parent ba4d4f8694
commit 8ba16e2813

@ -6,11 +6,13 @@ on:
# Don't run this workflow if only files under doc/ have been
# modified.
- "doc/**"
- "etc/schema.json"
pull_request:
paths-ignore:
# Don't run this workflow if only files under doc/ have been
# modified.
- "doc/**"
- "etc/schema.json"
workflow_dispatch:
inputs:
SU_REPO:

@ -5,6 +5,7 @@ on:
pull_request:
paths-ignore:
- "doc/**"
- "etc/schema.json"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

@ -5,11 +5,13 @@ on:
branches: [ master ]
paths-ignore:
- "doc/**"
- "etc/schema.json"
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
paths-ignore:
- "doc/**"
- "etc/schema.json"
schedule:
- cron: '18 21 * * 1'

@ -5,6 +5,7 @@ on:
paths:
# Something has to change in doc/ for thos workflow to be run.
- "doc/**"
- "etc/schema.json"
pull_request:
workflow_dispatch:
inputs:

@ -8,9 +8,11 @@ on:
- 'master-*'
paths-ignore:
- "doc/**"
- "etc/schema.json"
pull_request:
paths-ignore:
- "doc/**"
- "etc/schema.json"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

@ -4,9 +4,11 @@ on:
push:
paths-ignore:
- "doc/**"
- "etc/schema.json"
pull_request:
paths-ignore:
- "doc/**"
- "etc/schema.json"
permissions:
contents: read # to fetch code (actions/checkout)

@ -4,9 +4,11 @@ on:
push:
paths-ignore:
- "doc/**"
- "etc/schema.json"
pull_request:
paths-ignore:
- "doc/**"
- "etc/schema.json"
permissions: read-all

Loading…
Cancel
Save