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 eda7dd4 commit 58b1252
Show file tree
Hide file tree
Showing 3 changed files with 10 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

0 comments on commit 58b1252

Please sign in to comment.