Skip to content

Commit

Permalink
restrict permission for github token
Browse files Browse the repository at this point in the history
  • Loading branch information
acumino committed Dec 16, 2023
1 parent 4427079 commit 3c77576
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/hide-minikube-bot-comments.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: hide-minikube-bot-comments
on: issue_comment
permissions:
contents: read

jobs:
hide-comments:
if: ${{ github.event.issue.pull_request }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/winget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish to WinGet
on:
release:
types: [released]
permissions:
contents: read

jobs:
publish:
runs-on: windows-latest # action can only be run on windows
Expand Down

0 comments on commit 3c77576

Please sign in to comment.