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/**" - "docs/**"
branches: branches:
- main - main
- "!v[0-9]*"
# https://github.com/vitejs/vite/blob/main/.github/workflows/ci.yml # https://github.com/vitejs/vite/blob/main/.github/workflows/ci.yml
env: env:

View File

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

View File

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