From 17f0b7f23ea92b5d4a2a1e25bda9629d8981f568 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Thu, 28 Sep 2023 22:24:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20pin=20license=20check=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cla.yaml | 12 ------------ .github/workflows/lint.yaml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml index 511d1a5..01f37d2 100644 --- a/.github/workflows/cla.yaml +++ b/.github/workflows/cla.yaml @@ -24,15 +24,3 @@ jobs: remote-organization-name: mondoohq branch: "main" allowlist: mondoo-tools,github-actions[bot],dependabot[bot] - - license-check: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Copywrite - uses: hashicorp/setup-copywrite@v1.1.2 - - - name: Check Header Compliance - run: copywrite headers --plan diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 1877e3c..ccc4e4e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -19,3 +19,18 @@ jobs: - 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 + \ No newline at end of file