Skip to content

Commit

Permalink
infra: Limit permissions on trigger-webui workflow
Browse files Browse the repository at this point in the history
This is just a good practice everywhere.
  • Loading branch information
jkonecny12 committed Dec 2, 2024
1 parent af4caca commit 71c3961
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/trigger-webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ on:
- 'po/l10n-config.mk'
branches:
- 'master'

permissions:
contents: read
pull-requests: write
statuses: write

jobs:
trigger:
runs-on: ubuntu-22.04
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/trigger-webui.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ on:
- 'po/l10n-config.mk'
branches:
- 'master'

permissions:
contents: read
pull-requests: write
statuses: write

jobs:
trigger:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 71c3961

Please sign in to comment.