Skip to content

Commit

Permalink
Merge pull request #725 from FEMR/temr-dev-noah
Browse files Browse the repository at this point in the history
Created LICENSE checker script
  • Loading branch information
mhayes2772 authored May 15, 2024
2 parents a52f8fe + 1858009 commit a60ab74
Show file tree
Hide file tree
Showing 2 changed files with 654 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check for LICENSE File in femr Directory

on:
push:

jobs:
check-license-file:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Check if file exists
run: |
if [ ! -f "./LICENSE" ]; then
echo "File does not exist. Exiting with failure."
exit 1
fi
Loading

0 comments on commit a60ab74

Please sign in to comment.