Skip to content

Commit 25ce411

Browse files
committed
Update GitHub Actions workflow to enhance permissions and SDK reference
- Added `sdkRef` parameter to specify the SDK version. - Updated job permissions to allow read access to contents and write access for checks and pull requests. - Configured secrets to inherit from the repository.
1 parent 05f8252 commit 25ce411

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ concurrency:
1212
jobs:
1313
test_course_definition:
1414
uses: codecrafters-io/course-sdk/.github/workflows/test-course-definition.yml@main
15+
with:
16+
sdkRef: main
17+
permissions:
18+
contents: read
19+
checks: write
20+
pull-requests: write
21+
secrets: inherit

0 commit comments

Comments
 (0)