Skip to content

Commit

Permalink
ci: add copyright notices to ci files #89
Browse files Browse the repository at this point in the history
  • Loading branch information
marsella committed Jul 8, 2024
1 parent 4f651c4 commit 8f93fbb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/copyright_check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Checks that every updated file has an appropriate copyright notice.
#
# @copyright Galois, Inc
# @author Marcella Hastings <marcella@galois.com>
#

name: Copyright check
on:
pull_request:
Expand Down
7 changes: 6 additions & 1 deletion scripts/check_copyright.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/bin/bash
# Checks that every file indicated has an appropriate copyright notice.
#
# @copyright Galois, Inc
# @author Marcella Hastings <marcella@galois.com>
#

COPYRIGHT="@copyright Galois"
AUTHOR="@author .*@galois.com>"

# The get-changed-files Github Action requires filenames have no spaces in them.
# I think this will fail if any file names have spaces in them
FILES=$@
echo -e "Checking the following files: $FILES"

Expand Down

0 comments on commit 8f93fbb

Please sign in to comment.