mirror of
https://github.com/block/goose.git
synced 2026-04-28 11:39:43 +00:00
ci: Add CI to main pushes (#307)
This commit is contained in:
parent
924239fc3c
commit
470a624d6c
2 changed files with 16 additions and 3 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
12
.github/workflows/license-check.yml
vendored
12
.github/workflows/license-check.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue