Skip to content

DEBUG: add simple workflow to experiment with #1

DEBUG: add simple workflow to experiment with

DEBUG: add simple workflow to experiment with #1

Workflow file for this run

name: Debug
on:
pull_request:
push:
jobs:
check-copyright:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Find un-copyrighted files
run: |
find . \! -name '*.expanded.rs' -name '*.rs' -exec grep -H -E -o -c Copyright {} \; | grep ':0' || true
FILECOUNT=$(find . \! -name '*.expanded.rs' -name '*.rs' -exec grep -H -E -o -c Copyright {} \; | grep -c ':0' || true)
if [[ $FILECOUNT -eq 0 ]]; then
true
else
false
fi