Fix workflow includes and excludes

This commit is contained in:
Jan Gräfen 2021-03-06 17:32:30 +01:00
parent 928c615b2f
commit 26aedf253f
2 changed files with 8 additions and 2 deletions

View file

@ -4,10 +4,12 @@ on:
push: push:
branches: [ main ] branches: [ main ]
paths: paths:
- .github/workflows/*-helm.yaml
- helm/** - helm/**
pull_request: pull_request:
branches: [ master ] branches: [ main ]
paths: paths:
- .github/workflows/*-helm.yaml
- helm/** - helm/**
jobs: jobs:

View file

@ -9,16 +9,20 @@ on:
- .gitignore - .gitignore
- .editorconfig - .editorconfig
- helm/** - helm/**
- .github/workflows/*-helm.yaml
- .chartreleaser.yaml - .chartreleaser.yaml
- version.yaml - version.yaml
pull_request: pull_request:
branches: [ master ] branches: [ main ]
paths-ignore: paths-ignore:
- README.md - README.md
- LICENSE - LICENSE
- .gitignore - .gitignore
- .editorconfig - .editorconfig
- helm/** - helm/**
- .github/workflows/*-helm.yaml
- .chartreleaser.yaml
- version.yaml
jobs: jobs:
lint: lint: