Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/validate-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

- name: Validate maintenance PR scope
if: ${{ !startsWith(github.head_ref, 'release/code-scan-action-v') }}
env:
HEAD_REF: ${{ github.head_ref }}
run: |
set -euo pipefail

Expand All @@ -30,7 +32,7 @@ jobs:
fi
done < <(git diff --name-only origin/main...HEAD)

echo "Branch ${{ github.head_ref }} is not a generated release branch; artifact mirror files are unchanged."
echo "Branch $HEAD_REF is not a generated release branch; artifact mirror files are unchanged."

- name: Verify release source
if: ${{ startsWith(github.head_ref, 'release/code-scan-action-v') }}
Expand Down