Skip to content

Commit

Permalink
CI: set top-level permissions
Browse files Browse the repository at this point in the history
Drop all permissions, which will require any actions that need elevated
permissions in future explicity add them.

Signed-off-by: Joshua Lock <[email protected]>
  • Loading branch information
joshuagl committed Nov 16, 2022
1 parent 6296071 commit d082614
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check-upstream-ed25519.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- cron: '0 13 * * *'
workflow_dispatch:

permissions: {}

jobs:
check-ed25519-upstream:
name: Open an issue if upstream ed25519 has new commits
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
workflow_dispatch:

permissions: {}

jobs:
build:
strategy:
Expand Down

0 comments on commit d082614

Please sign in to comment.