chore: add .agents/agents for .opencode target resolution #85
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
| # Commit Message Lint Workflow | |
| # | |
| # This workflow lints commit messages on push, pull request, or manual dispatch. | |
| name: Commit message lint | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "**" # Listen to pushes on all branches | |
| tags-ignore: | |
| - "**" # Ignore tag pushes | |
| workflow_dispatch: | |
| # Use concurrency to deduplicate runs. | |
| # - For pull requests: group by `pr-<number>` so multiple commits to the same PR | |
| # cancel previous runs and only the latest is kept. | |
| # - For direct pushes: fall back to deduplicating by commit SHA so identical | |
| # commits don't trigger multiple concurrent workflows. | |
| # - Include the `github.workflow` name in the group to avoid cross-workflow collisions. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| commitlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| fetch-depth: 0 | |
| - name: Lint commit messages | |
| uses: wagoid/commitlint-github-action@f133a0d95090ef2609192b4a21f54e20af819ea9 |