Merge pull request #322 from wneessen/gh-workflow-updates

Update GitHub Actions paths for Go and workflow files
This commit is contained in:
Winni Neessen 2024-10-04 15:33:44 +02:00 committed by GitHub
commit 84f562554c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 8 deletions

View file

@ -10,7 +10,7 @@ on:
paths:
- '**.go'
- 'go.*'
- '.github/**'
- '.github/workflows/codecov.yml'
- 'codecov.yml'
pull_request:
branches:
@ -18,7 +18,7 @@ on:
paths:
- '**.go'
- 'go.*'
- '.github/**'
- '.github/workflows/codecov.yml'
- 'codecov.yml'
env:
TEST_HOST: ${{ secrets.TEST_HOST }}

View file

@ -10,16 +10,14 @@ on:
paths:
- '**.go'
- 'go.*'
- '.github/**'
- 'codecov.yml'
- '.github/workflows/offline-tests.yml'
pull_request:
branches:
- main
paths:
- '**.go'
- 'go.*'
- '.github/**'
- 'codecov.yml'
- '.github/workflows/offline-tests.yml'
permissions:
contents: read

View file

@ -10,10 +10,18 @@ permissions:
on:
push:
branches:
- main # or the name of your main branch
- main
paths:
- '**.go'
- 'go.*'
- '.github/workflows/sonarqube.yml'
pull_request:
branches:
- main # or the name of your main branch
- main
paths:
- '**.go'
- 'go.*'
- '.github/workflows/sonarqube.yml'
jobs:
build:
name: Build