Skip to content

Commit dd247e3

Browse files
committed
[skip ci] allow to skip CI jobs
1 parent fe6eb94 commit dd247e3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/cabal.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ name: Continuous integration
33
on:
44
push:
55
paths-ignore:
6-
- 'website/*/**'
76
- 'README.md'
7+
- 'CONTRIBUTING.md'
88
pull_request:
99

1010
jobs:
1111
continuous-integration:
12+
# You can skip continuous integration by writing '[ci skip]' or '[skip ci]' in a commit message,
13+
# which is useful to preserve computing resources
14+
#
15+
# For example:
16+
# > git commit -am "[skip ci] fixed x y z"
17+
if: contains(toJson(github.event.commits), '[ci skip]') == false && contains(toJson(github.event.commits), '[skip ci]') == false
1218
strategy:
1319
fail-fast: false
1420
matrix:

0 commit comments

Comments
 (0)