Skip to content

Commit

Permalink
ci: add missing permissions to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Jan 16, 2025
1 parent 3302318 commit 4b558d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: Nightly Build

permissions:
actions: read
contents: read
security-events: write

on:
workflow_dispatch:
inputs:
Expand All @@ -14,6 +9,11 @@ on:
schedule:
- cron: "0 3 * * *" # run at 03:00 UTC

permissions:
actions: read
contents: read
security-events: write

jobs:

Run-Tests:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Release
on:
workflow_dispatch:

permissions:
actions: read
security-events: write

jobs:

Expand Down

0 comments on commit 4b558d5

Please sign in to comment.