Skip to content

lint ps w windows

lint ps w windows #16

Workflow file for this run

# Purpose: Run a static analysis code checker against the repo.
name: Check Security
# This is a reusable workflow called by the pipeline.
on:
push: # temp
workflow_call:
workflow_dispatch:
permissions: read-all
jobs:
check-security:
name: MegaLint Checkov
runs-on: ubuntu-latest
# This condition prevents duplicate runs.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
defaults:
run:
shell: bash
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Config File
run: cp Testing/Linting/MegaLinter/.mega-linter-security.yml .mega-linter.yml
- name: Check Security
uses: oxsecurity/megalinter/flavors/security@latest