Add workflow to run OSSF scorecard #248
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PullRequest | |
on: pull_request | |
permissions: {} | |
jobs: | |
ci: | |
permissions: | |
contents: read # for actions/checkout | |
security-events: write # for codeql-action | |
uses: ./.github/workflows/ci.yml | |
dependency-review: | |
name: Security check of added dependencies | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # for actions/checkout | |
pull-requests: write # for actions/dependency-review-action to publish summary | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Dependency review | |
uses: actions/dependency-review-action@v4 | |
with: | |
comment-summary-in-pr: always |