Skip to content

Commit

Permalink
chore: add *-main to branch workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbotsf committed Jan 7, 2025
1 parent d97e8ba commit 1459c01
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/api-compat-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: API compatibility verification
on:
pull_request:
types: [ opened, synchronize, reopened, labeled, unlabeled ]
branches: [ main ]
branches:
- main
- '*-main'

jobs:
api-compat-verification:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/artifact-size-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Artifact Size Metrics
on:
pull_request:
types: [ opened, synchronize, reopened, labeled, unlabeled ]
branches: [ main ]
branches:
- main
- '*-main'
release:
types: [published]

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/changelog-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Changelog verification
on:
pull_request:
types: [ opened, synchronize, reopened, labeled, unlabeled ]
branches: [ main ]
branches:
- main
- '*-main'

jobs:
changelog-verification:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: CI

on:
push:
branches: [ main ]
branches:
- main
- '*-main'
pull_request:
workflow_dispatch:

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Dependabot Dependency Submission

on:
push:
branches: [ main ]
branches:
- main
- '*-main'

permissions:
contents: write
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/kat-transform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Kat Transform
on:
pull_request:
types: [ opened, synchronize, reopened, labeled, unlabeled ]
branches: [ main ]
branches:
- main
- '*-main'

# Allow one instance of this workflow per pull request, and cancel older runs when new changes are pushed
concurrency:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ on:
branches:
- '**'
- '!main'
- '!*-main'
pull_request:
branches: [ main ]
branches:
- main
- '*-main'
workflow_dispatch:

env:
Expand Down

0 comments on commit 1459c01

Please sign in to comment.