chore: add default github repo files #23
Workflow file for this run
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
| --- | |
| # GitHub Actions workflow for commit message validation | |
| # Validates commit messages against conventional commit format and other standards | |
| # Checks message format, branch naming, author details, and signoff requirements | |
| name: commit-check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: read-all | |
| jobs: | |
| commit-check: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create commit-check.toml file | |
| run: | | |
| cat > commit-check.toml << EOF | |
| [commit] | |
| subject_capitalized = false | |
| subject_imperative = false | |
| subject_max_length = 80 | |
| EOF | |
| - uses: commit-check/commit-check-action@d543df1682006434c5bfd919219c3eb0ab94c418 # v2.2.0 | |
| env: | |
| GH_TOKEN: ${{ github.token }} |