Revert "remove permission control in workflow"

This reverts commit e9c44e0d07.
This commit is contained in:
Nova 2025-07-27 10:08:43 +03:30
parent fb09632b69
commit 66e9cfa20b

View File

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