Skip to content

Allow download retrying if the computed and configured checksums differ. #1051

Allow download retrying if the computed and configured checksums differ.

Allow download retrying if the computed and configured checksums differ. #1051

Workflow file for this run

# Copyright (c) 2024, Zededa, Inc.
# SPDX-License-Identifier: Apache-2.0
---
name: Check SPDX License Headers
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- "master"
- "[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+-stable"
paths-ignore:
- '**/*.md'
jobs:
spdx-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
fetch-depth: 0
- name: Fetch the PR's head ref
run: |
git fetch origin ${{ github.event.pull_request.head.sha }}:${{ github.event.pull_request.head.ref }}
git checkout ${{ github.event.pull_request.head.ref }}
- name: Run SPDX check
run: |
./tools/spdx-check.sh ${{ github.event.pull_request.base.sha }}