Skip to content

Commit

Permalink
Move permissions to appropriate job (fix missplaced)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey18106 committed Aug 9, 2023
1 parent 98944bd commit 56a8b50
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ jobs:

php-psalm-analysis:
runs-on: ubuntu-22.04

permissions:
contents: read
actions: read
security-events: write

strategy:
matrix:
php-versions: ["8.1"]
Expand All @@ -100,6 +94,10 @@ jobs:

php-security-analysis:
runs-on: ubuntu-22.04
permissions:
contents: read
actions: read
security-events: write
name: security analysis
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 56a8b50

Please sign in to comment.