Skip to content

Commit e45f51e

Browse files
committed
rebase main
2 parents 3bf1515 + 3c46e03 commit e45f51e

938 files changed

Lines changed: 40548 additions & 24041 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/ensure-base-commit/action.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,24 @@ runs:
2323
exit 0
2424
fi
2525
26+
if ! [[ "$BASE_SHA" =~ ^[0-9a-fA-F]{7,40}$ ]]; then
27+
echo "::error title=ensure-base-commit invalid base sha::Refusing invalid base SHA: $BASE_SHA"
28+
exit 2
29+
fi
30+
31+
if ! git check-ref-format --branch "$FETCH_REF" >/dev/null 2>&1; then
32+
echo "::error title=ensure-base-commit invalid fetch ref::Refusing invalid fetch ref: $FETCH_REF"
33+
exit 2
34+
fi
35+
2636
if git rev-parse --verify "$BASE_SHA^{commit}" >/dev/null 2>&1; then
2737
echo "Base commit already present: $BASE_SHA"
2838
exit 0
2939
fi
3040
3141
for deepen_by in 25 100 300; do
3242
echo "Base commit missing; deepening $FETCH_REF by $deepen_by."
33-
if ! git fetch --no-tags --deepen="$deepen_by" origin "$FETCH_REF"; then
43+
if ! git fetch --no-tags --deepen="$deepen_by" origin -- "$FETCH_REF"; then
3444
echo "::warning title=ensure-base-commit fetch failed::Failed to deepen $FETCH_REF by $deepen_by while looking for $BASE_SHA"
3545
fi
3646
if git rev-parse --verify "$BASE_SHA^{commit}" >/dev/null 2>&1; then
@@ -40,7 +50,7 @@ runs:
4050
done
4151
4252
echo "Base commit still missing; fetching full history for $FETCH_REF."
43-
if ! git fetch --no-tags origin "$FETCH_REF"; then
53+
if ! git fetch --no-tags origin -- "$FETCH_REF"; then
4454
echo "::warning title=ensure-base-commit fetch failed::Failed to fetch full history for $FETCH_REF while looking for $BASE_SHA"
4555
fi
4656
if git rev-parse --verify "$BASE_SHA^{commit}" >/dev/null 2>&1; then

.github/workflows/auto-response.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
env:
1212
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
16+
cancel-in-progress: ${{ github.event_name == 'pull_request_target' }}
17+
1418
permissions: {}
1519

1620
jobs:

.github/workflows/ci-bun.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
branches: [main]
66

77
concurrency:
8-
group: ci-bun-push-${{ github.ref_name }}
9-
cancel-in-progress: true
8+
group: ci-bun-push-${{ github.run_id }}
9+
cancel-in-progress: false
1010

1111
env:
1212
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

0 commit comments

Comments
 (0)