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: paths:
- '**.go' - '**.go'
- 'go.*' - 'go.*'
- '.github/**' - '.github/workflows/codecov.yml'
- 'codecov.yml' - 'codecov.yml'
pull_request: pull_request:
branches: branches:
@ -18,7 +18,7 @@ on:
paths: paths:
- '**.go' - '**.go'
- 'go.*' - 'go.*'
- '.github/**' - '.github/workflows/codecov.yml'
- 'codecov.yml' - 'codecov.yml'
env: env:
TEST_HOST: ${{ secrets.TEST_HOST }} TEST_HOST: ${{ secrets.TEST_HOST }}

View file

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

View file

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