/ .github / workflows / verify-license.yml
verify-license.yml
 1  name: Verify License Headers
 2  
 3  on:
 4    pull_request:
 5      branches: [ main ]
 6  
 7  concurrency:
 8    group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
 9    cancel-in-progress: true
10  
11  jobs:
12    verify-license:
13      runs-on: self-hosted
14      steps:
15        - name: Checkout code
16          uses: actions/checkout@v6
17          with:
18            fetch-depth: 0
19  
20        - name: Run license verification
21          run: |
22            chmod +x scripts/verify-license.sh
23            ./scripts/verify-license.sh