Skip to content

Fix codecov link in README (#2854) #2528

Fix codecov link in README (#2854)

Fix codecov link in README (#2854) #2528

Workflow file for this run

# This is a simple GitHub Actions CI workflow.
name: CI
# Limit permissions. See:
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
# Since we set "permissions", anything unset has access "none".
permissions:
contents: read
# Controls when the action will run. Triggers the workflow on push or pull
# request events but only for the main branch (formerly the master branch)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Use harden-runner https://github.com/step-security/harden-runner
# presented at OpenSSF Best Practices WG 2022-03-15
- uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
# Checks-out your repository under $GITHUB_WORKSPACE,
# so your job can access it.
# As required by OpenSSF Scorecard,
# we pin this to a specific hash value to prevent use of an unknown
# (and possibly subverted) version.
# Update by consulting: https://github.com/actions/checkout/releases
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
# OSPS-BR-01.02: Validate branch name before use in pipeline
# This protects against potential future use of branch names in commands
# GITHUB_REF_NAME is the short ref name (e.g., "main" not "refs/heads/main")
- name: Validate branch name
run: script/validate_branch_name "$GITHUB_REF_NAME"
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!