ci: add minimal permissions to workflows

This commit is contained in:
Sylvestre Ledru
2026-06-06 08:30:43 +02:00
parent 629e119c1e
commit faacdd286b
3 changed files with 10 additions and 0 deletions
+4
View File
@@ -5,6 +5,10 @@ name: Security audit
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
audit:
runs-on: ubuntu-latest
+3
View File
@@ -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
+3
View File
@@ -22,6 +22,9 @@ on:
- 'GNUmakefile'
- '.github/workflows/manpage-lint.yml'
permissions:
contents: read
jobs:
manpage-lint:
name: Validate manpages with mandoc