Skip to content

Commit

Permalink
chore: harden security settings
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio W <[email protected]>
  • Loading branch information
ovflowd authored Nov 25, 2023
1 parent dec347f commit 588511a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ on:
- '!i18n/locales/en.json'

permissions:
# This permission is required by `stefanzweifel/git-auto-commit-action`
contents: write
actions: read
# This permission is required by `thollander/actions-comment-pull-request`
pull-requests: write

jobs:
comment_on_translation_pr:
Expand All @@ -32,6 +28,10 @@ jobs:
name: Comment on Translation PR
runs-on: ubuntu-latest

permissions:
# This permission is required by `thollander/actions-comment-pull-request`
pull-requests: write

steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
Expand Down Expand Up @@ -59,6 +59,10 @@ jobs:
name: Format Crowdin Pull Request
runs-on: ubuntu-latest

permissions:
# This permission is required by `stefanzweifel/git-auto-commit-action`
contents: write

steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
Expand Down

0 comments on commit 588511a

Please sign in to comment.