This repository has been archived by the owner on Jan 23, 2025. It is now read-only.
MG-213 - Update Gauges to fetch data from the back-end readers #889
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 code | |
uses: actions/checkout@v4 | |
- name: Check License Header | |
run: | | |
CHECK=$(grep -rcL --exclude-dir={.git,build} \ | |
--exclude=\*.{crt,key,pem,md,csv,mod,sum,png,jpeg,ico,json,prettierrc} \ | |
--exclude=LICENSE \ | |
--regexp "Copyright (c) Abstract Machines" .) | |
if [ "$CHECK" ]; then | |
echo "License header check failed. Fix the following files:" | |
echo "$CHECK" | |
exit 1 | |
fi |