remove permission control in workflow

This commit is contained in:
Nova 2025-07-24 12:44:49 +03:30
parent 1be16017b7
commit e9c44e0d07

View File

@ -10,8 +10,6 @@ on:
required: false required: false
jobs: jobs:
build-go: build-go:
permissions:
contents: read
strategy: strategy:
matrix: matrix:
include: include:
@ -89,8 +87,6 @@ jobs:
name: Throne-${{ github.sha }}-Common-${{ matrix.cross_os }}-${{ matrix.cross_arch }} name: Throne-${{ github.sha }}-Common-${{ matrix.cross_os }}-${{ matrix.cross_arch }}
path: artifacts.tgz path: artifacts.tgz
build-cpp: build-cpp:
permissions:
contents: read
needs: needs:
- build-go - build-go
strategy: strategy:
@ -226,9 +222,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: needs:
- build-cpp - build-cpp
permissions:
contents: write
actions: read
env: env:
INPUT_VERSION: ${{ github.event.inputs.tag }} INPUT_VERSION: ${{ github.event.inputs.tag }}
steps: steps: