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] types: [created]
workflow_dispatch: workflow_dispatch:
permissions:
issues: write
jobs: jobs:
assign: assign:
permissions: permissions:

View File

@@ -46,11 +46,7 @@ on:
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true cancel-in-progress: true
permissions:
contents: write
actions: write
checks: write
jobs: jobs:
build_linux: build_linux:
@@ -187,5 +183,3 @@ jobs:
asset_name: OrcaSlicer-Linux-flatpak_nightly_${{ matrix.variant.arch }}.flatpak asset_name: OrcaSlicer-Linux-flatpak_nightly_${{ matrix.variant.arch }}.flatpak
asset_content_type: application/octet-stream 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 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: force-build:
required: false required: false
type: boolean type: boolean
jobs: jobs:
check_cache: # determines if there is a cache and outputs variables used in caching process check_cache: # determines if there is a cache and outputs variables used in caching process
name: Check Cache name: Check Cache
@@ -60,4 +60,3 @@ jobs:
build-deps-only: ${{ inputs.build-deps-only }} build-deps-only: ${{ inputs.build-deps-only }}
force-build: ${{ inputs.force-build }} force-build: ${{ inputs.force-build }}
secrets: inherit secrets: inherit

View File

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