Skip to content

Commit

Permalink
Grant contents write permissions to delete-preview workflow (#592)
Browse files Browse the repository at this point in the history
* contents write permissions

* "3"

---------

Co-authored-by: Martin Holters <martin.holters@hsu-hh.de>
  • Loading branch information
wheeheee and martinholters authored Nov 18, 2024
1 parent 811e157 commit 8326adf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:
inputs:
lookback:
default: 3
default: "3"
permissions:
actions: read
checks: read
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/delete-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
delete-preview:
name: Delete preview deployment
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 8326adf

Please # to comment.