Skip to content

Commit

Permalink
best practices: ossf scorecard: Fix token permissions
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny committed Jun 22, 2024
1 parent d668dab commit f3352fc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/alice_async_comms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
schedule:
- cron: '0 6 * * *'

permissions:
contents: read

jobs:
posts:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dffml_build_images_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ on:
- "**/*Dockerfile"
- "**/*.manifest.json"

permissions:
contents: read

jobs:
manifest:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dispatch_build_images_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# - https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
name: "Dispatch: Build: Images: Containers"

permissions:
contents: read

on:
workflow_dispatch:
inputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Tests

permissions:
contents: read

on:
workflow_dispatch: null
push:
Expand Down

0 comments on commit f3352fc

Please sign in to comment.