Skip to content

[Test] Fix kitchen test: install_pyxis_installed #509

[Test] Fix kitchen test: install_pyxis_installed

[Test] Fix kitchen test: install_pyxis_installed #509

name: Unsafe Patterns Checker
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
jobs:
# Prevent security exclusions
security-exclusions-check:
runs-on: ubuntu-latest
steps:
- name: Check PR
uses: francesco-giordano/[email protected]
with:
diffDoesNotContainRegex: "\\bnosec\\b|\\bnosemgrep\\b"
skipLabels: skip-security-exclusions-check
# Prevent the use of recursive deletion.
recursive-deletion-check:
runs-on: ubuntu-latest
steps:
- name: Check PR (recursive true)
uses: francesco-giordano/[email protected]
with:
diffDoesNotContainRegex: "recursive true"
skipLabels: skip-recursive-deletion-check
- name: Check PR (rm -rf)
uses: francesco-giordano/[email protected]
with:
diffDoesNotContainRegex: "rm -rf"
skipLabels: skip-recursive-deletion-check