Revert "fix GITHUB_TOKEN permissions in workflows (#11392)"

This reverts commit aa5350a6fe.
Revert "correct oversight in #11392 (#11404)"

This reverts commit fb3b2aadac.
This commit is contained in:
SoftFever 2025-11-21 18:54:34 +08:00
parent fb3b2aadac
commit 3a7309a1b2
4 changed files with 2 additions and 15 deletions

View file

@ -7,9 +7,6 @@ on:
types: [created]
workflow_dispatch:
permissions:
issues: write
jobs:
assign:
permissions:

View file

@ -46,11 +46,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: write
actions: write
checks: write
jobs:
build_linux:
@ -187,5 +183,3 @@ jobs:
asset_name: OrcaSlicer-Linux-flatpak_nightly_${{ matrix.variant.arch }}.flatpak
asset_content_type: application/octet-stream
max_releases: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted

View file

@ -15,7 +15,7 @@ on:
force-build:
required: false
type: boolean
jobs:
check_cache: # determines if there is a cache and outputs variables used in caching process
name: Check Cache
@ -60,4 +60,3 @@ jobs:
build-deps-only: ${{ inputs.build-deps-only }}
force-build: ${{ inputs.force-build }}
secrets: inherit

View file

@ -23,9 +23,6 @@ on:
required: false
type: boolean
permissions:
actions: write
jobs:
build_deps:
name: Build Deps