Skip to content

Commit

Permalink
add step for checking license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Beast committed Dec 12, 2021
1 parent 467aff1 commit 2e17765
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,19 @@ jobs:

- name: Run tests
run: deno test -A --unstable

- name: Check license headers
run: |
deno run -A https://deno.land/x/anzu@1.0.0/src/cli.ts \
-i ./ "/.+\.ts/" \
-e "deps.ts" \
-l "// Copyright 2021 Im-Beast. All rights reserved. MIT license." \
-p
- name: Push changes
run: |
git config user.name Github Actions
git config user.email github-actions@github.com
git add .
git commit -m "chore: Prepend missing license headers"
git push

0 comments on commit 2e17765

Please sign in to comment.