Skip to content

Commit ac0e383

Browse files
authored
chore: show lint annotations in ci (#336)
1 parent fe80d80 commit ac0e383

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ permissions:
1111
contents: read
1212
# Optional: allow read access to pull requests. Use with `only-new-issues` option.
1313
pull-requests: read
14+
# Required: allow writing check results and annotations
15+
checks: write
16+
# Required: allow updating commit statuses
17+
statuses: write
1418

1519
concurrency:
1620
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
@@ -116,7 +120,7 @@ jobs:
116120

117121
- name: Dogfooding
118122
if: runner.os == 'Linux'
119-
run: pnpm run lint
123+
run: pnpm run lint --format github
120124

121125
- name: TypeCheck
122126
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)