Files
k3s-ansible/.github/workflows/ci.yml
T
Timothy Stewart 35939315cd ci(workflows): allow manual CI runs
- Restore workflow dispatch for manual validation on master.\n- Keep automatic CI limited to pull requests targeting master.
2026-08-01 19:13:48 -05:00

41 lines
759 B
YAML

---
name: "CI"
on:
pull_request:
branches:
- master
types:
- opened
- synchronize
- reopened
- ready_for_review
paths-ignore:
- '**/.gitignore'
- '**/FUNDING.yml'
- '**/host.ini'
- '**/*.md'
- '**/.editorconfig'
- '**/ansible.example.cfg'
- '**/deploy.sh'
- '**/LICENSE'
- '**/reboot.sh'
- '**/reset.sh'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
pre:
uses: ./.github/workflows/cache.yml
needs: [lint]
lint:
uses: ./.github/workflows/lint.yml
test:
uses: ./.github/workflows/test.yml
needs: [pre, lint]