This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
fix: k8s no longer required #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Kubescape | |
on: | |
push: | |
paths: | |
- 'kubernetes/**' | |
pull_request: | |
paths: | |
- 'kubernetes/**' | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install Kubescape | |
run: curl -s https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash | |
- name: Kubescape | |
run: kubescape scan kubernetes/*.yaml -v --fail-threshold 40 |