Skip to content

chore: temporarily remove header to test workflow #3

chore: temporarily remove header to test workflow

chore: temporarily remove header to test workflow #3

Workflow file for this run

name: Pull Request License Check

Check failure on line 1 in .github/workflows/license_check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/license_check.yml

Invalid workflow file

(Line: 16, Col: 9): Unexpected value 'runs', (Line: 13, Col: 9): Required property is missing: run
on:
pull_request:
jobs:
check_licenses:
name: Check License Headers
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Find Source Files
id: find-files
shell: bash
runs: |
{
echo 'SOURCE_FILES=<<EOF'
$(find . -path "*/src/*" \( -name "*.java" -o -name "*.kt" -o -name "*.kts" \) -type f)"
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Run addlicense
uses: docker://ghcr.io/google/addlicense:v1.2.0
with:
args: -v -f LICENSE ${{ steps.find-files.outputs.SOURCE_FILES }}