Skip to content

Test fixup workflow #72

Test fixup workflow

Test fixup workflow #72

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
ansible: ${{ steps.changes.outputs.ansible }}
kubernetes: ${{ steps.changes.outputs.kubernetes }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
ansible:
- 'ansible/**'
kubernetes:
- 'kubernetes/**'
lint:
uses: ./.github/workflows/lint.yaml
lint-ansible:
needs: changes
if: ${{ needs.changes.outputs.ansible == 'true' }}
uses: ./.github/workflows/lint-ansible.yaml
secrets:
vault-password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
lint-kubernetes:
needs: changes
if: ${{ needs.changes.outputs.kubernetes == 'true' }}
uses: ./.github/workflows/lint-kubernetes.yaml
secrets:
kube-config: ${{ secrets.KUBECONFIG }}