Skip to content

fix(build): use default AR args for the Lua package on macOS (#14648) #223

fix(build): use default AR args for the Lua package on macOS (#14648)

fix(build): use default AR args for the Lua package on macOS (#14648) #223

Workflow file for this run

name: Check for Enterprise Copyright
on:
pull_request:
jobs:
check-copyright:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Find Enterprise Copyright
shell: bash
run: |
set -e
workflow_file=$(grep -rnl "^name:[[:space:]]*Check for Enterprise Copyright" .github/workflows/*.yml | head -n1)
echo "Detected workflow file: $workflow_file"
all_files=$(grep -r -F -l "This software is copyright Kong Inc. and its licensors." .)
# ignore this file
files=$(echo "$all_files" | grep -v "$workflow_file$" || true)
if [ -n "$files" ]; then
echo "Error: Enterprise copyright detected in the following files:"
echo "$files"
exit 1
else
echo "No enterprise copyright found."
fi