diff --git a/.github/workflows/kubernetes-ci.yaml b/.github/workflows/kubernetes-ci.yaml index 9d70b1c..eda592f 100644 --- a/.github/workflows/kubernetes-ci.yaml +++ b/.github/workflows/kubernetes-ci.yaml @@ -1,28 +1,29 @@ name: CI - Kubernetes on: + pull_request: push: branches: - main - pull_request: jobs: lint: name: Lint manifests - runs-on: ubuntu-latest - + runs-on: ubuntu-22.04 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - id: manifest-files - name: Find manifest files + - name: Find manifests + id: manifests + shell: bash run: | echo "manifests<> $GITHUB_OUTPUT - python scripts/find_manifests.py >> $GITHUB_OUTPUT + python3 scripts/find_manifests.py >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - - uses: azure/k8s-lint@3b7cb68584cd614174f4e2dad0b6d48dbf651ccc + - name: Lint manifests + uses: sid-maddy/k8s-lint@897009c442e242ea782988ddcc4c9dded9af86ba with: - manifests: ${{ steps.manifest-files.outputs.manifests }} + manifests: ${{ steps.manifests.outputs.manifests }}