ci: exlude files from triggering workflows (#1804)

* ci: add paths-ignore

* fix: use explicit trigger paths

* fix: revert changes as every file should be linted
This commit is contained in:
Frederic Werner 2021-02-11 09:48:45 +01:00 committed by GitHub
parent 62e93f0dcc
commit d2124a6529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -5,6 +5,12 @@ on:
branches:
- master
- stable
paths:
- 'target/**'
- '.dockerignore'
- '.gitmodules'
- 'Dockerfile'
- 'setup.sh'
tags:
- '*.*.*'

View File

@ -1,6 +1,14 @@
name: "Test Merge Requests"
on: pull_request
on:
pull_request:
paths:
- 'target/**'
- 'test/**'
- '.dockerignore'
- '.gitmodules'
- 'Dockerfile'
- 'setup.sh'
jobs:
build-and-test: