chore: add conventional commit linting#250
Conversation
| name: "Lint" | ||
| runs-on: "depot-ubuntu-24.04-small" | ||
| steps: | ||
| - uses: "actions/checkout@v5" | ||
| - uses: "bahmutov/npm-install@v1" | ||
| - name: "Run prettier" | ||
| run: "CI=true yarn run prettier src -c" | ||
| - name: "Run lint" | ||
| run: "CI=true yarn lint" | ||
|
|
||
| conventional-commits: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 3 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| name: "Lint Commit Messages" | ||
| runs-on: "depot-ubuntu-24.04-small" | ||
| if: "github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.action == 'reopened' || github.event.action == 'edited')" | ||
| steps: | ||
| - uses: "actions/checkout@v5" | ||
| - uses: "webiny/action-conventional-commits@v1.3.0" |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 3 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
c09929b to
fe9b601
Compare
fe9b601 to
be0360a
Compare
Description
Part of preparing this repo for the use of
release-please. We need to have conventional commits in place, so this adds a linter for that and does some other drive-by refactors to workflows.Changes
create-pull-requestaction tag with a conventional commit (featto trigger a release)Testing
Review. See that tests pass.