Skip to content

chore(deps): update plugin org.jetbrains.kotlin.jvm to v2.4.10 (#1168) #599

chore(deps): update plugin org.jetbrains.kotlin.jvm to v2.4.10 (#1168)

chore(deps): update plugin org.jetbrains.kotlin.jvm to v2.4.10 (#1168) #599

name: OSSF Scorecard
on:
push:
branches:
- main
schedule:
- cron: "2 15 * * 1" # once a week
workflow_dispatch:
permissions:
contents: read
jobs:
analysis:
permissions:
contents: read
# Needed for Code scanning upload
security-events: write
# Needed for GitHub OIDC token if publish_results is true
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- 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@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
with:
sarif_file: results.sarif
workflow-notification:
permissions:
issues: write
needs:
- analysis
if: always()
uses: open-telemetry/shared-workflows/.github/workflows/workflow-failure-issue.yml@62d5939b47144252763c5ff9fffe8c20d76cd806 # v0.4.0
with:
success: ${{ needs.analysis.result == 'success' }}