Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ on:
schedule:
- cron: '0 12 * * 4'

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

jobs:
codeql:
name: Code QL
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository for code analysis
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/njsscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ on:
schedule:
- cron: '0 12 * * 4'

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

jobs:
nodejsscan:
name: NodeJS Scan
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read

steps:
- name: Checkout the code
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ on:
push:
branches: [main]

permissions: read-all
permissions:
id-token: write
contents: read
security-events: write

jobs:
scorecards:
name: Scorecards Analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Used to receive a badge. (Upcoming feature)
id-token: write
actions: read
contents: read

steps:
- name: 'Checkout code'
Expand Down