Skip to content

Commit a724b62

Browse files
committed
fix: GHA lint and tests workflow permissions
When dependabot creates a pull request, triggered github actions have read permissions only, and i.e. `MishaKav/pytest-coverage-comment` fails to submit a comment Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
1 parent 1d97a68 commit a724b62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/lint-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ concurrency:
1010
group: ${{ github.workflow }}
1111
cancel-in-progress: false
1212

13+
permissions:
14+
contents: write
15+
checks: write
16+
pull-requests: write
17+
1318
jobs:
1419
tests:
1520
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)