mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-02-16 18:30:51 +01:00
21 lines
449 B
YAML
21 lines
449 B
YAML
---
|
|
name: "CI"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '**/README.md'
|
|
jobs:
|
|
pre-commit:
|
|
uses: ./.github/workflows/pre-commit.yml
|
|
test:
|
|
uses: ./.github/workflows/python.yml
|
|
needs: [pre-commit]
|
|
release:
|
|
uses: ./.github/workflows/docker-build-push.yml
|
|
secrets: inherit # pass all secrets
|
|
needs: [test]
|
|
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|