fix: restrict push branches in workflows to only main

This commit is contained in:
GitHub Actions
2026-02-26 04:31:52 +00:00
parent fb5fdb8c4e
commit 82d18f11a5
4 changed files with 5 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ on:
pull_request:
branches: [main, nightly, development]
push:
branches: [main, nightly, development, 'feature/**', 'fix/**']
branches: [main]
workflow_dispatch:
schedule:
- cron: '0 3 * * 1' # Mondays 03:00 UTC

View File

@@ -23,6 +23,7 @@ name: Docker Build, Publish & Test
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
workflow_run:
workflows: ["Docker Lint"]

View File

@@ -15,6 +15,7 @@ on:
type: string
pull_request:
push:
branches: [main]
concurrency: