mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-14 18:02:55 +01:00
Update GitHub Actions paths for Go and workflow files
This commit refines the paths in GitHub Actions workflows to more precisely track changes in Go-related files and specific workflow files. General `.github/**` paths have been replaced with explicit references to relevant workflow files within `.github/workflows`.
This commit is contained in:
parent
04023a1a25
commit
d931050a6f
3 changed files with 14 additions and 8 deletions
4
.github/workflows/codecov.yml
vendored
4
.github/workflows/codecov.yml
vendored
|
@ -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 }}
|
||||
|
|
6
.github/workflows/offline-tests.yml
vendored
6
.github/workflows/offline-tests.yml
vendored
|
@ -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
|
||||
|
||||
|
|
12
.github/workflows/sonarqube.yml
vendored
12
.github/workflows/sonarqube.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue