Only run CI if there are changes to go files or the workflow [skip ci]

This commit is contained in:
Till Faelligen 2023-02-28 15:35:53 +01:00
parent 086e205eba
commit f1ccfcf150
No known key found for this signature in database
GPG Key ID: ACCDC9606D472758

View File

@ -4,7 +4,13 @@ on:
push:
branches:
- main
paths:
- '**.go' # only execute on changes to go files
- '.github/workflows/**' # or workflow changes
pull_request:
paths:
- '**.go'
- '.github/workflows/**'
release:
types: [published]
workflow_dispatch: