chore: remove OpenSSF regression check (#1899)
* chore: remove OpenSSF regression check * remove the mentions of the regression check Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
09cd987058
commit
d71c6b3c75
1 changed files with 0 additions and 23 deletions
23
.github/workflows/scorecard.yml
vendored
23
.github/workflows/scorecard.yml
vendored
|
|
@ -13,8 +13,6 @@ on:
|
|||
- cron: '* * 1/7 * *'
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
# Declare default permissions as read only.
|
||||
permissions: read-all
|
||||
|
|
@ -23,8 +21,6 @@ jobs:
|
|||
analysis:
|
||||
name: Scorecard analysis
|
||||
runs-on: ubuntu-latest
|
||||
# Only run full analysis on the default branch (push/schedule); PRs use the regression-check job instead.
|
||||
if: github.event_name != 'pull_request'
|
||||
permissions:
|
||||
# Needed to upload the results to code-scanning dashboard.
|
||||
security-events: write
|
||||
|
|
@ -78,22 +74,3 @@ jobs:
|
|||
uses: github/codeql-action/upload-sarif@0d579ffd059c29b07949a3cce3983f0780820c98 # v4
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
|
||||
regression-check:
|
||||
name: Scorecard regression check
|
||||
runs-on: ubuntu-slim
|
||||
if: github.event_name == 'pull_request'
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: "Check for score regressions"
|
||||
uses: bootc-dev/actions/openssf-scorecard@5f2749dbf075d7b485749c47ecfcc2badd604eab
|
||||
with:
|
||||
base-sha: ${{ github.event.pull_request.base.sha }}
|
||||
head-sha: ${{ github.event.pull_request.head.sha }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue