Skip to content

Commit 0707d22

Browse files
committed
chore: upgrade ci
1 parent 9091e54 commit 0707d22

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: CI Workflow
2+
permissions:
3+
pull-requests: write
24

35
on:
46
push:
@@ -27,14 +29,16 @@ jobs:
2729
- name: Setup reviewdog
2830
uses: reviewdog/action-setup@latest
2931
- name: Run black
30-
env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
env:
33+
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3134
run: |
3235
poetry run black nodestream_github tests --check --diff --quiet | reviewdog -f=diff -name="black-check" -level=error -reporter=github-pr-check
3336
- name: Run isort
3437
run: |
3538
poetry run isort nodestream_github tests --check-only
3639
- name: Run Lint
37-
env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
env:
41+
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3842
run: |
3943
poetry run ruff check nodestream_github tests --output-format rdjson | reviewdog -f=rdjson -name="ruff-check" -level=warning -reporter=github-pr-check
4044
- name: Run Tests

0 commit comments

Comments
 (0)