Skip to content

Commit

Permalink
Github Actions: set top level permissions (#2860) (#2861)
Browse files Browse the repository at this point in the history
  • Loading branch information
psilva-veeam committed May 8, 2024
1 parent 7cef51c commit 859e18a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/atlas-image-build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: build-mongodb-atlas-tools-image

permissions:
contents: read

on:
workflow_dispatch:
inputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/grype-vulnerability-scanner.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: container vulnerability scanning
permissions:
contents: read
on:
workflow_dispatch:
workflow_run:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/kanister-image-build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: build-kanister-image

permissions:
contents: read

on:
workflow_dispatch:
inputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Build and test
permissions:
contents: read
on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Manage Stale Issues and PRs

permissions:
contents: read

on:
schedule:
- cron: "0 0 * * *"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/triage-issues.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Triage Issues

permissions:
contents: read

on:
issues:
types:
Expand Down

0 comments on commit 859e18a

Please sign in to comment.