mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
fix GITHUB_TOKEN permissions in workflows (#11392)
This pull request updates GitHub Actions workflow files to explicitly set permissions for certain actions. (fixing the permissions issues) **Workflow permissions updates:** * Added explicit `issues: write` permission to the `assign.yml` workflow to ensure it can modify issues as needed. * Set `contents: write`, `actions: write`, and `checks: write` permissions in the `build_all.yml` workflow to allow the workflow to interact with repository contents, manage actions, and update checks.
This commit is contained in:
5
.github/workflows/build_check_cache.yml
vendored
5
.github/workflows/build_check_cache.yml
vendored
@@ -15,7 +15,10 @@ on:
|
||||
force-build:
|
||||
required: false
|
||||
type: boolean
|
||||
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
jobs:
|
||||
check_cache: # determines if there is a cache and outputs variables used in caching process
|
||||
name: Check Cache
|
||||
|
||||
Reference in New Issue
Block a user