Skip to content

Commit

Permalink
ci: create security-check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
anfibiacreativa authored Oct 15, 2024
1 parent 36d8f75 commit a04c5d4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/security-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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/ps-rule@v2.9.0
id: run_psrule
with:
source: '.ps-rule'
modules: 'PSRule.Rules.Azure'
baseline: 'TemplateValidation.MI_2024_10'

0 comments on commit a04c5d4

Please sign in to comment.