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: on:
push: push:
branches: ["main"] branches: ["main"]
paths-ignore:
- 'patterns/**'
- '**/*.md'
pull_request: pull_request:
branches: ["main"] branches: ["main"]
paths-ignore:
- 'patterns/**'
- '**/*.md'
jobs: jobs:
test: test:

View File

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