mirror of
https://github.com/domcyrus/rustnet.git
synced 2026-01-14 02:10:28 -06:00
fix: add explicit permissions to GitHub Actions workflows (#131)
This commit is contained in:
3
.github/workflows/build-platforms.yml
vendored
3
.github/workflows/build-platforms.yml
vendored
@@ -19,6 +19,9 @@ on:
|
||||
type: string
|
||||
default: ''
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
3
.github/workflows/test-platform-builds.yml
vendored
3
.github/workflows/test-platform-builds.yml
vendored
@@ -14,6 +14,9 @@ on:
|
||||
- '.github/workflows/build-platforms.yml'
|
||||
- '.github/actions/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/build-platforms.yml
|
||||
|
||||
Reference in New Issue
Block a user