ci: don't run ci for release branches

This commit is contained in:
Daniel Roe 2023-04-20 09:47:03 +01:00
parent 872d681549
commit f550976f74
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ on:
- "docs/**"
branches:
- main
- "!v[0-9]*"
# https://github.com/vitejs/vite/blob/main/.github/workflows/ci.yml
env:

View File

@ -8,6 +8,7 @@ on:
# autofix workflow will be triggered instead for PRs
branches:
- main
- "!v[0-9]*"
# Remove default permissions of GITHUB_TOKEN for security
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

View File

@ -11,6 +11,7 @@ on:
- ".github/workflows/**"
branches:
- main
- "!v[0-9]*"
jobs:
lint-workflows: