Harden GitHub Actions Workflow Permissions
GitHub now recommends setting explicit permissions for each workflow/job to ensure least privilege for Actions tokens. To improve security and future-proof our automation:
Related tasks for other stride3d repos
Possible candidates for stride repository
build-android.yml
build-assembly-processor.yml
build-ios.yml
build-linux-runtime.yml
build-windows-full.yml
build-windows-runtime.yml
test-linux-game.yml
test-linux-simple.yml
test-windows-editor.yml
test-windows-game.yml
test-windows-simple.yml
References:
Goal: Reduce risk surface, improve clarity, and follow best practices by adhering to the principle of least privilege for all GitHub Actions.
Harden GitHub Actions Workflow Permissions
GitHub now recommends setting explicit permissions for each workflow/job to ensure least privilege for Actions tokens. To improve security and future-proof our automation:
.github/workflows/and add explicitpermissions:(preferably at the workflow level)permissions: contents: readRelated tasks for other stride3d repos
Possible candidates for stride repository
References:
Goal: Reduce risk surface, improve clarity, and follow best practices by adhering to the principle of least privilege for all GitHub Actions.