ci: restrict workflow triggers to main and version/* only

Save GitHub Actions minutes by not running CI on every dev/rc
commit. All workflows now trigger only on push to main or
version/* branches. Manual dispatch still available.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 00:13:01 -05:00
parent e1e0087414
commit a70e74c72a
5 changed files with 6 additions and 26 deletions

View File

@@ -19,9 +19,7 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
- version/*
workflow_dispatch:
permissions:

View File

@@ -19,14 +19,7 @@ on:
push:
branches:
- main
- dev/**
- rc/**
- version/**
pull_request:
branches:
- main
- dev/**
- rc/**
- version/*
workflow_dispatch:
permissions:

View File

@@ -21,14 +21,7 @@ on:
push:
branches:
- main
- dev/**
- rc/**
- version/**
pull_request:
branches:
- main
- dev/**
- rc/**
- version/*
schedule:
# Weekly on Monday at 06:00 UTC
- cron: '0 6 * * 1'

View File

@@ -89,9 +89,7 @@ env:
on:
push:
branches: [main, dev/**, rc/**, version/**]
pull_request:
branches: [main, dev/**, rc/**]
branches: [main, version/*]
workflow_dispatch:
permissions:

View File

@@ -22,10 +22,8 @@ name: Update Joomla Update Server XML Feed
on:
push:
branches:
- 'dev/**'
- 'alpha/**'
- 'beta/**'
- 'rc/**'
- main
- version/*
paths:
- 'src/**'
- 'htdocs/**'