Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Add Github Action for checking license lines
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredclwong committed Apr 15, 2021
1 parent bfeaa09 commit b988371
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/License.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Check License Lines
on:
push:
branches: [main]
tags: ['*']
pull_request:
jobs:
check-license-lines:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check License Lines
uses: kt3k/[email protected]
11 changes: 11 additions & 0 deletions .licenserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"**/*.jl": [
"# MIT license",
"# Copyright (c) Microsoft Corporation. All rights reserved.",
"# See LICENSE in the project root for full license information."
],
"ignore": [
"samples/notebooks/",
"samples\\notebooks\\"
]
}

0 comments on commit b988371

Please sign in to comment.