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 # Don't run this workflow if only files under doc/ have been
# modified. # modified.
- "doc/**" - "doc/**"
- "etc/schema.json"
pull_request: pull_request:
paths-ignore: paths-ignore:
# Don't run this workflow if only files under doc/ have been # Don't run this workflow if only files under doc/ have been
# modified. # modified.
- "doc/**" - "doc/**"
- "etc/schema.json"
workflow_dispatch: workflow_dispatch:
inputs: inputs:
SU_REPO: SU_REPO:

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

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

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

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

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

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

Loading…
Cancel
Save