From c2889f7eaea1f6543b6083a9b51f73945c5df411 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Thu, 15 Feb 2024 09:15:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20extract=20license=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/license.yml | 19 +++++++++++++++++++ .github/workflows/pr-test-lint.yml | 14 -------------- 2 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/license.yml diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml new file mode 100644 index 0000000000..21a2d1b359 --- /dev/null +++ b/.github/workflows/license.yml @@ -0,0 +1,19 @@ +name: License Test + +on: + push: + +jobs: + 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 diff --git a/.github/workflows/pr-test-lint.yml b/.github/workflows/pr-test-lint.yml index b0e251a203..596b7d439a 100644 --- a/.github/workflows/pr-test-lint.yml +++ b/.github/workflows/pr-test-lint.yml @@ -178,17 +178,3 @@ jobs: with: name: Event File path: ${{ github.event_path }} - - 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