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

Merge pull request #3980 from sashashura/patch-1

GitHub Workflows security hardening
This commit is contained in:
Sylvestre Ledru 2022-09-25 18:33:38 +02:00 committed by GitHub
commit b43bbe9e98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

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 }}

View file

@ -6,6 +6,9 @@ name: GnuTests
on: [push, pull_request]
permissions:
contents: read
jobs:
gnu:
permissions: