1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

build: harden CICD.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-25 16:30:33 +02:00
parent b182f81a62
commit 1138c906fe

View file

@ -17,6 +17,9 @@ env:
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
cargo-deny:
name: Style/cargo-deny
@ -532,6 +535,9 @@ jobs:
path: size-result.json
build:
permissions:
contents: write # to create GitHub release (softprops/action-gh-release)
name: Build
needs: [ min_version, deps ]
runs-on: ${{ matrix.job.os }}