update the macOS up to date query, get actionable output #895
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: Lint Policies | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Lint cnspec policies and output SARIF | |
uses: mondoohq/actions/cnspec-lint@main | |
with: | |
path: . | |
output-file: "results.sarif" | |
- name: Upload SARIF results file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif | |
license-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Copywrite | |
uses: hashicorp/setup-copywrite@v1.1.2 | |
with: | |
version: v0.16.4 | |
- name: Check Header Compliance | |
run: copywrite headers --plan |