fix: harden v1.62.0-beta.10 candidate

User-Visible: yes
Issue: #108
This commit is contained in:
Matysh
2026-08-13 00:14:51 +03:00
parent cf77d7d2e1
commit 37032203dd
35 changed files with 605 additions and 104 deletions
+2 -8
View File
@@ -28,15 +28,9 @@ jobs:
BEFORE_SHA: ${{ github.event.before }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.sha }}
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
run: |
if [ "$EVENT_NAME" = "pull_request" ]; then
range="$BASE_SHA..$HEAD_SHA"
elif [ -n "$BEFORE_SHA" ] && ! echo "$BEFORE_SHA" | grep -Eq '^0+$'; then
range="$BEFORE_SHA..$HEAD_SHA"
else
range="$HEAD_SHA^..$HEAD_SHA"
fi
node scripts/validate-commit-provenance.mjs --check-hook-mode --range "$range"
node scripts/validate-commit-provenance.mjs --check-hook-mode --github-range
hacs:
runs-on: ubuntu-latest