Merge pull request #218 from strukturag/ci-workflows

CI: Only run workflows if relevant files have changed.
This commit is contained in:
Joachim Bauch 2022-04-04 16:14:44 +02:00 committed by GitHub
commit b267f0dc50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

View File

@ -3,8 +3,14 @@ name: "CodeQL"
on:
push:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
pull_request:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
schedule:
- cron: '28 2 * * 5'

View File

@ -3,8 +3,14 @@ name: lint
on:
push:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
pull_request:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
jobs:
lint:

View File

@ -3,8 +3,16 @@ name: test
on:
push:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
- 'Makefile'
pull_request:
branches: [ master ]
paths:
- '**.go'
- 'go.*'
- 'Makefile'
jobs:
go: