Skip to content

ci: create security-check.yaml #1

ci: create security-check.yaml

ci: create security-check.yaml #1

on:
workflow_dispatch:
push:
# Run when commits are pushed to mainline branch (main or master)
# Set this to the mainline branch you are using
branches:
- ci/test-ps-rule
jobs:
check:
runs-on: ubuntu-latest
steps:
# GitHub Actions workflow to deploy to Azure using azd
- name: Analyze templates for MI compliance
uses: microsoft/[email protected]
id: run_psrule
with:
source: '.ps-rule'
modules: 'PSRule.Rules.Azure'
baseline: 'TemplateValidation.MI_2024_10'