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