Skip to content

Commit

Permalink
ci: do not triggers some gh actions for pre-commit-ci-update-config b…
Browse files Browse the repository at this point in the history
…ranch (#186)

* Do not triggers given GH Actions for PR labelled as skip-changelog

* remove condition on types label

* test retrieving PR name

* typo

* syntax

* looking for info in github.event.pull_request

* still looking for info in github.event.pull_request

* still looking for info in github.event.pull_request

* testing condition on title with contains

* using paths-ignore
  • Loading branch information
oboulant authored Jul 28, 2021
1 parent 650ea84 commit ed967de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "Check docs"
on:
- pull_request
pull_request:
branches: [ master ]
paths-ignore:
- '.pre-commit-config.yaml'

jobs:
docs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
paths-ignore:
- '.pre-commit-config.yaml'

jobs:
coverage:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
paths-ignore:
- '.pre-commit-config.yaml'

jobs:
build:
Expand Down

0 comments on commit ed967de

Please # to comment.