Skip to content

ci: Add permissions to add PR review comments for reviewdog actions #520

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

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
matrix:
module: [api, common, .]
fail-fast: false
permissions:
pull-requests: write
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -101,6 +103,8 @@ jobs:

lint-gha:
runs-on: ubuntu-22.04
permissions:
pull-requests: write
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -138,7 +142,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
key: pre-commit-3|${{ hashFiles('.pre-commit-config.yaml') }}

- name: Run pre-commit
run: devbox run -- make pre-commit
Expand Down
Loading