This repository was archived by the owner on Jan 2, 2026. It is now read-only.
feat: provide database access for pre-commit #36
This file contains hidden or 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
| name: "General: License headers and identifiers" | |
| on: | |
| push: | |
| branches: ["main"] | |
| tags: ["*"] | |
| pull_request: | |
| branches: ["*"] | |
| workflow_dispatch: | |
| # Auto-abort duplicate jobs (e.g. job being triggered again on push to open PR) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| license-headers: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Check license headers | |
| uses: viperproject/check-license-header@e06c65614fa9f32e099838df4dd25440c5344b32 | |
| with: | |
| path: . | |
| config: ./.github/license-check/config.json | |
| strict: true |