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

NOISSUE - Update Copyright Notice #5

NOISSUE - Update Copyright Notice

NOISSUE - Update Copyright Notice #5

Workflow file for this run

# Copyright (c) Abstract Machines
# SPDX-License-Identifier: Apache-2.0
name: Check License Header
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check-license:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check License Header
run: |
grep -rL --exclude-dir=.git --exclude-dir=build \
--exclude=\*.crt --exclude=\*.key --exclude=\*.pem \
--exclude=\*.zed --exclude=\*.hcl \
--exclude=CODEOWNERS --exclude=LICENSE --exclude=MAINTAINERS \
--exclude=\*.md --exclude=\*.json --exclude=\*.csv \
--exclude=\*.mod --exclude=\*.sum \
--exclude=\*.tmpl --exclude=\*.args \
--regexp "Copyright (c) Abstract Machines" .
- name: Fail if files exist
if: ${{ steps.check-license.outputs.count > 0 }}
run: |
exit 1