Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Set permissions for GitHub actions #3398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ship-linux.yml
Expand Up @@ -9,8 +9,13 @@ on:
- test*
- v*

permissions:
contents: read

jobs:
ship-linux-installer:
permissions:
contents: write # for softprops/action-gh-release to create GitHub release
runs-on: ${{ matrix.os }}
env:
TERM: xterm
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ship-macos.yml
Expand Up @@ -9,8 +9,13 @@ on:
- test*
- v*

permissions:
contents: read

jobs:
ship-macos-installer:
permissions:
contents: write # for softprops/action-gh-release to create GitHub release
runs-on: ${{ matrix.os }}
env:
APPLE_CERT_DATA: ${{ secrets.APPLE_CERT_DATA }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ship-windoze.yml
Expand Up @@ -8,8 +8,13 @@ on:
tags:
- test*
- v*
permissions:
contents: read

jobs:
ship-windows-installer:
permissions:
contents: write # for softprops/action-gh-release to create GitHub release
runs-on: ${{ matrix.os }}
env:
WINDOZE_CERT_DATA: ${{ secrets.WINDOZE_CERT_DATA }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/update-submodules.yml
Expand Up @@ -3,8 +3,13 @@ on:
schedule:
- cron: '8 14 * * *'

permissions:
contents: read

jobs:
auto-update-submodules:
permissions:
contents: write # for Git to git push
runs-on: ${{ matrix.os }}
env:
TERM: xterm
Expand Down