CI: Ignore changes to Documentation related files

This will prevent CI from running if:
- the only changes included are under the Documentation folder, or
- the only changes included are *.md files in the root

See:
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-excluding-paths
This commit is contained in:
rmg-x 2024-11-22 09:17:07 -06:00 committed by Jelle Raaijmakers
parent 3e536a4cd7
commit d389fb440f
Notes: github-actions[bot] 2024-11-23 09:45:50 +00:00

View file

@ -1,6 +1,14 @@
name: CI
on: [push, pull_request]
on:
push:
paths-ignore:
- 'Documentation/**'
- '*.md'
pull_request:
paths-ignore:
- 'Documentation/**'
- '*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }}