Skip to content

Commit

Permalink
🧹 extract license workflow (#3318)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock authored Feb 15, 2024
1 parent 5de6687 commit f13dfc2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
version: v0.16.4

- name: Check Header Compliance
run: copywrite headers --plan
14 changes: 0 additions & 14 deletions .github/workflows/pr-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
version: v0.16.4

- name: Check Header Compliance
run: copywrite headers --plan

0 comments on commit f13dfc2

Please sign in to comment.