Skip to content

Commit

Permalink
Add permissions to GitHub Action Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla committed Aug 2, 2023
1 parent 5bb262a commit 0140be0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- master
pull_request:

permissions:
contents: read

jobs:
php:
name: PHP
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- master
pull_request:

permissions:
contents: read

jobs:
syntax:
name: "Check Syntax (${{ matrix.php }})"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- ready_for_review
- review_requested

permissions:
contents: read
pull-requests: read

jobs:
commit_message:
name: Check Commit Message
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- master
pull_request:

permissions:
contents: read

jobs:
tsc:
name: "TSC"
Expand Down

0 comments on commit 0140be0

Please sign in to comment.