🧹 Draft: Improve azure cnquery packs #207
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 Packs | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Validate changed packs | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installing cnquery | |
run: | | |
bash -c "$(curl -sSL https://install.mondoo.com/sh/cnquery)" | |
- name: Lint packs | |
run: | | |
cnquery bundle validate . | |
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 | |