ci: deactivate build triggering at changes of patterns or docu

This commit is contained in:
Eugen Eisler
2024-10-30 13:07:15 +01:00
parent 8e01d62150
commit 611f8789da
2 changed files with 9 additions and 0 deletions

View File

@@ -3,8 +3,14 @@ name: Go Build
on:
push:
branches: ["main"]
paths-ignore:
- 'patterns/**'
- '**/*.md'
pull_request:
branches: ["main"]
paths-ignore:
- 'patterns/**'
- '**/*.md'
jobs:
test:

View File

@@ -4,6 +4,9 @@ on:
push:
branches:
- main # Monitor the main branch
paths-ignore:
- 'patterns/**'
- '**/*.md'
permissions:
contents: write # Ensure the workflow has write permissions