Skip to content

Commit cf258dd

Browse files
committed
fix: Add missing permissions to GitHub Actions workflows
- Add `checks: write` permission to integration-test.yml to allow dorny/test-reporter to post test results to PRs - Add `checks: write` permission to test-on-weaviate-version.yml to properly inherit permissions for called workflows - Explicitly pass GITHUB_TOKEN to softprops/action-gh-release for better security and clarity
1 parent c702582 commit cf258dd

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/integration-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Integration Test Template
22
permissions:
33
contents: read
4+
checks: write
45

56
on:
67
workflow_call:

.github/workflows/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,4 @@ jobs:
288288
generate_release_notes: true
289289
draft: true
290290
files: ./out/*.nupkg
291+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-on-weaviate-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Test on Weaviate Version
22
permissions:
33
contents: read
4+
checks: write
45

56
on:
67
workflow_call:

0 commit comments

Comments
 (0)