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: push:
branches: branches:
- main - main
paths:
- '**.go' # only execute on changes to go files
- '.github/workflows/**' # or workflow changes
pull_request: pull_request:
paths:
- '**.go'
- '.github/workflows/**'
release: release:
types: [published] types: [published]
workflow_dispatch: workflow_dispatch: