ci: run workflows against 3.x branch as well

This commit is contained in:
Daniel Roe 2024-06-19 18:16:04 +01:00
parent 57e84086cc
commit bbcab053bc
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B
6 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,7 @@ on:
- "*.md"
branches:
- main
- 3.x
# Remove default permissions of GITHUB_TOKEN for security
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

View File

@ -7,12 +7,14 @@ on:
- "*.md"
branches:
- main
- 3.x
pull_request:
paths-ignore:
- "docs/**"
- "*.md"
branches:
- main
- 3.x
- "!v[0-9]*"
# https://github.com/vitejs/vite/blob/main/.github/workflows/ci.yml

View File

@ -9,6 +9,7 @@ on:
# autofix workflow will be triggered instead for PRs
branches:
- main
- 3.x
- "!v[0-9]*"
# Remove default permissions of GITHUB_TOKEN for security

View File

@ -6,11 +6,13 @@ on:
- ".github/workflows/**"
branches:
- main
- 3.x
pull_request:
paths:
- ".github/workflows/**"
branches:
- main
- 3.x
- "!v[0-9]*"
permissions:

View File

@ -6,6 +6,7 @@ on:
- opened
branches:
- main
- 3.x
jobs:
add-pr-labels:

View File

@ -12,7 +12,7 @@ on:
schedule:
- cron: '20 7 * * 2'
push:
branches: ["main"]
branches: ["main", "3.x"]
# Declare default permissions as read only.
permissions: read-all