Skip to content

Commit

Permalink
Update codeql-code-scanning.yml
Browse files Browse the repository at this point in the history
hoist permissions
  • Loading branch information
epreston committed Mar 7, 2024
1 parent 1259cce commit e0e418e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/codeql-code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ on:
# group: ci-${{ github.event.pull_request.number || github.ref }}
# cancel-in-progress: true

permissions:
# required for all workflows
security-events: write

# only required for workflows in private repositories
actions: read
contents: read

jobs:
analyze:
name: Analyze
Expand All @@ -35,14 +43,6 @@ jobs:
matrix:
language: ['javascript']

permissions:
# required for all workflows
security-events: write

# only required for workflows in private repositories
actions: read
contents: read

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit e0e418e

Please sign in to comment.