mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
ci: add minimal permissions to workflows
This commit is contained in:
@@ -5,6 +5,10 @@ name: Security audit
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -17,6 +17,9 @@ on:
|
||||
- 'src/uu/*/locales/en-US.ftl'
|
||||
- 'Cargo.toml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check-doc:
|
||||
name: Verify uudoc generates correct documentation
|
||||
|
||||
@@ -22,6 +22,9 @@ on:
|
||||
- 'GNUmakefile'
|
||||
- '.github/workflows/manpage-lint.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
manpage-lint:
|
||||
name: Validate manpages with mandoc
|
||||
|
||||
Reference in New Issue
Block a user