feat(ci): skip build on misc files (#1854)

feat(ci): don't build on misc files
This commit is contained in:
nuxen 2024-12-01 21:20:59 +01:00 committed by GitHub
parent 4c39198c37
commit b07556ceaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,21 @@ on:
- "develop"
tags:
- 'v*'
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '.github/images/**'
- 'config.toml'
- 'docker-compose.yml'
- 'Makefile'
- '**.md'
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- '.github/images/**'
- 'config.toml'
- 'docker-compose.yml'
- 'Makefile'
- '**.md'
env:
REGISTRY: ghcr.io
@ -267,7 +281,7 @@ jobs:
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --skip=validate --skip=publish --parallelism 5
args: release --clean --skip=validate,publish --parallelism 5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}