chore(deps): bump library/node (#3549) #843
This file contains hidden or 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
| # Copyright The OpenTelemetry Authors | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: OSSF Scorecard | |
| on: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "25 11 * * 3" # once a week | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| analysis: | |
| name: Analyze repository | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read # required by OSSF Scorecard workflow checks | |
| contents: read # required by OSSF Scorecard repository checks | |
| security-events: write # required to upload Scorecard SARIF to code scanning | |
| id-token: write # required by OSSF Scorecard when publish_results is true | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Run OSSF Scorecard | |
| uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 | |
| with: | |
| results_file: results.sarif | |
| results_format: sarif | |
| publish_results: true | |
| # Upload the results as artifacts (optional). Commenting out will disable | |
| # uploads of run results in SARIF format to the repository Actions tab. | |
| # https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: SARIF file | |
| path: results.sarif | |
| retention-days: 5 | |
| # Upload the results to GitHub's code scanning dashboard (optional). | |
| # Commenting out will disable upload of results to your repo's Code Scanning dashboard | |
| - name: Upload to code scanning | |
| uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 | |
| with: | |
| sarif_file: results.sarif |