chore: Adjust CI jobs to run on certain paths

This commit is contained in:
jamesread 2026-05-21 11:05:00 +01:00
parent 7fa8e0025c
commit b68b293a49
4 changed files with 54 additions and 8 deletions

View File

@ -3,6 +3,16 @@ name: "Build & Release pipeline"
on: on:
pull_request: pull_request:
paths:
- '.github/workflows/build-and-release.yml'
- '.goreleaser.yml'
- 'Dockerfile.multiarches'
- 'Dockerfile.singlearch'
- 'Makefile'
- 'frontend/**'
- 'integration-tests/**'
- 'proto/**'
- 'service/**'
workflow_dispatch: workflow_dispatch:
push: push:
tags: tags:
@ -11,6 +21,16 @@ on:
- main - main
- next - next
- beta - beta
paths:
- '.github/workflows/build-and-release.yml'
- '.goreleaser.yml'
- 'Dockerfile.multiarches'
- 'Dockerfile.singlearch'
- 'Makefile'
- 'frontend/**'
- 'integration-tests/**'
- 'proto/**'
- 'service/**'
jobs: jobs:
build: build:

View File

@ -15,13 +15,19 @@ name: "CodeQL"
on: on:
push: push:
paths: paths:
- 'cmd/**' - '.github/workflows/codeql-analysis.yml'
- 'internal/**' - 'frontend/**'
- 'webui.dev/**'
- 'integration-tests/**' - 'integration-tests/**'
- 'OliveTin.proto' - 'proto/**'
- 'service/**'
branches: [main] branches: [main]
pull_request: pull_request:
paths:
- '.github/workflows/codeql-analysis.yml'
- 'frontend/**'
- 'integration-tests/**'
- 'proto/**'
- 'service/**'
branches: [main] branches: [main]
schedule: schedule:
- cron: '25 10 * * 5' - cron: '25 10 * * 5'

View File

@ -4,11 +4,11 @@ name: "Codestyle checks"
on: on:
push: push:
paths: paths:
- 'cmd/**' - '.github/workflows/codestyle.yml'
- 'internal/**' - 'frontend/**'
- 'webui.dev/**'
- 'integration-tests/**' - 'integration-tests/**'
- 'OliveTin.proto' - 'proto/**'
- 'service/**'
jobs: jobs:

View File

@ -7,8 +7,28 @@ name: DevSkim
on: on:
push: push:
paths:
- '.github/workflows/devskim.yml'
- '.goreleaser.yml'
- 'Dockerfile.multiarches'
- 'Dockerfile.singlearch'
- 'Makefile'
- 'frontend/**'
- 'integration-tests/**'
- 'proto/**'
- 'service/**'
branches: [ "main" ] branches: [ "main" ]
pull_request: pull_request:
paths:
- '.github/workflows/devskim.yml'
- '.goreleaser.yml'
- 'Dockerfile.multiarches'
- 'Dockerfile.singlearch'
- 'Makefile'
- 'frontend/**'
- 'integration-tests/**'
- 'proto/**'
- 'service/**'
branches: [ "main" ] branches: [ "main" ]
schedule: schedule:
- cron: '34 21 * * 2' - cron: '34 21 * * 2'