-
Notifications
You must be signed in to change notification settings - Fork 26
chore: add conventional commit linting #250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| --- | ||
| name: "Lint" | ||
| permissions: | ||
| contents: "read" | ||
| on: | ||
| push: | ||
| branches: | ||
| - "main" | ||
| pull_request: | ||
| branches: | ||
| - "*" | ||
| jobs: | ||
| lint: | ||
| name: "Lint" | ||
| runs-on: "depot-ubuntu-24.04-small" | ||
| steps: | ||
| - uses: "actions/checkout@v5" | ||
| - uses: "bahmutov/npm-install@v1" | ||
| with: | ||
| useLockFile: false | ||
| - name: "Run prettier" | ||
| run: "CI=true yarn run prettier src -c" | ||
| - name: "Run lint" | ||
| run: "CI=true yarn lint" | ||
|
|
||
| conventional-commits: | ||
| 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" | ||
|
Comment on lines
+27
to
+32
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Copilot AutofixAI 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. |
||
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.