mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-08-08 23:13:19 +02:00
6aea6e71b6
- Add canonical agent and contributor documentation. - Modernize issue and pull request templates. - Skip CI for documentation and issue-template-only changes.
42 lines
795 B
YAML
42 lines
795 B
YAML
---
|
|
name: "CI"
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- ready_for_review
|
|
paths-ignore:
|
|
- '**/.gitignore'
|
|
- '**/FUNDING.yml'
|
|
- '**/host.ini'
|
|
- '**/*.md'
|
|
- '.github/ISSUE_TEMPLATE/**'
|
|
- '**/.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]
|