mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
95c9f392e2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.7 to 2.1.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0182a2c78c...1ed1437484
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
name: Scorecards supply-chain security
|
||
on:
|
||
# Only the default branch is supported.
|
||
branch_protection_rule:
|
||
schedule:
|
||
- cron: '23 8 * * 6'
|
||
push:
|
||
branches: [main]
|
||
|
||
# Declare default permissions as read only.
|
||
permissions: read-all
|
||
|
||
jobs:
|
||
analysis:
|
||
name: Scorecards analysis
|
||
runs-on: ubuntu-latest
|
||
permissions:
|
||
# Needed to upload the results to code-scanning dashboard.
|
||
security-events: write
|
||
actions: read
|
||
contents: read
|
||
|
||
steps:
|
||
- name: 'Checkout code'
|
||
uses: actions/checkout@v3 # v2.4.0
|
||
with:
|
||
persist-credentials: false
|
||
|
||
- name: 'Run analysis'
|
||
uses: ossf/scorecard-action@c1aec4ac820532bab364f02a81873c555a0ba3a1 # v1.0.2
|
||
with:
|
||
results_file: results.sarif
|
||
results_format: sarif
|
||
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
|
||
# Publish the results to enable scorecard badges. For more details, see
|
||
# https://github.com/ossf/scorecard-action#publishing-results.
|
||
publish_results: true
|
||
|
||
# Upload the results as artifacts (optional).
|
||
- name: 'Upload artifact'
|
||
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v2.3.1
|
||
with:
|
||
name: SARIF file
|
||
path: results.sarif
|
||
retention-days: 5
|
||
|
||
# Upload the results to GitHub’s code scanning dashboard.
|
||
- name: 'Upload to code-scanning'
|
||
uses: github/codeql-action/upload-sarif@1ed1437484560351c5be56cf73a48a279d116b78 # v1.0.26
|
||
with:
|
||
sarif_file: results.sarif
|