mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
ci: Add CI to main pushes (#307)
This commit is contained in:
@@ -2,7 +2,12 @@ name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
branches:
|
||||
- main # Trigger CI on PRs to main
|
||||
|
||||
push:
|
||||
branches:
|
||||
- main # Trigger CI on pushes to main
|
||||
|
||||
jobs:
|
||||
exchange:
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
---
|
||||
name: License Check
|
||||
|
||||
"on":
|
||||
pull_request:
|
||||
on:
|
||||
pull_request: # Trigger license check on any PRs
|
||||
paths:
|
||||
- '**/pyproject.toml'
|
||||
- '.github/workflows/license-check.yml'
|
||||
- '.github/workflows/scripts/check_licenses.py'
|
||||
|
||||
push: # Trigger license check on pushes to main
|
||||
branches:
|
||||
- main
|
||||
paths: # TODO: can't DRY unless https://github.com/actions/runner/issues/1182
|
||||
- '**/pyproject.toml'
|
||||
- '.github/workflows/license-check.yml'
|
||||
- '.github/workflows/scripts/check_licenses.py'
|
||||
|
||||
jobs:
|
||||
check-licenses:
|
||||
name: Check Package Licenses
|
||||
|
||||
Reference in New Issue
Block a user