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:
commit
b43bbe9e98
2 changed files with 9 additions and 0 deletions
6
.github/workflows/CICD.yml
vendored
6
.github/workflows/CICD.yml
vendored
|
@ -17,6 +17,9 @@ env:
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cargo-deny:
|
cargo-deny:
|
||||||
name: Style/cargo-deny
|
name: Style/cargo-deny
|
||||||
|
@ -532,6 +535,9 @@ jobs:
|
||||||
path: size-result.json
|
path: size-result.json
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
permissions:
|
||||||
|
contents: write # to create GitHub release (softprops/action-gh-release)
|
||||||
|
|
||||||
name: Build
|
name: Build
|
||||||
needs: [ min_version, deps ]
|
needs: [ min_version, deps ]
|
||||||
runs-on: ${{ matrix.job.os }}
|
runs-on: ${{ matrix.job.os }}
|
||||||
|
|
3
.github/workflows/GnuTests.yml
vendored
3
.github/workflows/GnuTests.yml
vendored
|
@ -6,6 +6,9 @@ name: GnuTests
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gnu:
|
gnu:
|
||||||
permissions:
|
permissions:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue