[Test] Require 'ostruct' module in spec tests to prevent runtime errors cause by OpenStruct not being defined in newer version of Cinc. #6357
Workflow file for this run
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: Security Exclusions 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 |