Skip to content

Commit 2a2ce73

Browse files
committed
fix(ci): keep sbt/setup-sbt and docker/login-action on allowlisted SHAs
The v1.5.7 pin for sbt/setup-sbt is not on the ASF GitHub Enterprise actions allowlist, so GitHub rejects the run while building the workflow graph: The action sbt/setup-sbt@8feba82 is not allowed in apache/texera because all actions must be from a repository owned by your enterprise, created by GitHub, or match one of the patterns: ... Required Checks, Backport Checks and Benchmarks all end in startup_failure with zero jobs (build.yml is the reusable workflow the first two call), so the `Required Checks` status context is never created and the PR can never satisfy branch protection. Same failure mode as apache#6989, apache#4643 and apache#4344. docker/login-action v4.6.0 is reverted for the same reason: it only appears in build-and-push-images.yml, which does not run on pull_request, so PR CI cannot prove the new SHA is allowlisted — and apache#4344 was exactly that action's SHAs being rejected after merge. Both pins go back to the SHAs main already runs green on. The rest of the bump (Node 24.19.0, Python 3.14, the corrected sbt-dependency-submission version comment) is unchanged.
1 parent 5c60909 commit 2a2ce73

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎.github/workflows/benchmarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ jobs:
241241
- name: Generate Python proto bindings
242242
run: bash bin/python-proto-gen.sh
243243
- name: Setup sbt launcher
244-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
244+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
245245
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
246246
with:
247247
extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'

‎.github/workflows/build-and-push-images.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
java-version: 17
127127

128128
- name: Setup sbt launcher
129-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
129+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
130130

131131
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
132132
with:
@@ -328,7 +328,7 @@ jobs:
328328
java-version: 17
329329

330330
- name: Setup sbt launcher
331-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
331+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
332332

333333
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
334334
with:
@@ -353,15 +353,15 @@ jobs:
353353

354354
- name: Log in to GitHub Container Registry
355355
if: startsWith(needs.set-parameters.outputs.docker_registry, 'ghcr.io/')
356-
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
356+
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
357357
with:
358358
registry: ghcr.io
359359
username: ${{ github.actor }}
360360
password: ${{ secrets.GITHUB_TOKEN }}
361361

362362
- name: Log in to Docker Hub
363363
if: ${{ !startsWith(needs.set-parameters.outputs.docker_registry, 'ghcr.io/') }}
364-
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
364+
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
365365
with:
366366
username: ${{ secrets.DOCKERHUB_USERNAME }}
367367
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -408,7 +408,7 @@ jobs:
408408
java-version: 17
409409

410410
- name: Setup sbt launcher
411-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
411+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
412412

413413
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
414414
with:
@@ -439,15 +439,15 @@ jobs:
439439

440440
- name: Log in to GitHub Container Registry
441441
if: startsWith(needs.set-parameters.outputs.docker_registry, 'ghcr.io/')
442-
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
442+
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
443443
with:
444444
registry: ghcr.io
445445
username: ${{ github.actor }}
446446
password: ${{ secrets.GITHUB_TOKEN }}
447447

448448
- name: Log in to Docker Hub
449449
if: ${{ !startsWith(needs.set-parameters.outputs.docker_registry, 'ghcr.io/') }}
450-
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
450+
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
451451
with:
452452
username: ${{ secrets.DOCKERHUB_USERNAME }}
453453
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -481,15 +481,15 @@ jobs:
481481
steps:
482482
- name: Log in to GitHub Container Registry
483483
if: startsWith(needs.set-parameters.outputs.docker_registry, 'ghcr.io/')
484-
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
484+
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
485485
with:
486486
registry: ghcr.io
487487
username: ${{ github.actor }}
488488
password: ${{ secrets.GITHUB_TOKEN }}
489489

490490
- name: Log in to Docker Hub
491491
if: ${{ !startsWith(needs.set-parameters.outputs.docker_registry, 'ghcr.io/') }}
492-
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
492+
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
493493
with:
494494
username: ${{ secrets.DOCKERHUB_USERNAME }}
495495
password: ${{ secrets.DOCKERHUB_PASSWORD }}

‎.github/workflows/build.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
env:
229229
PGPASSWORD: postgres
230230
- name: Setup sbt launcher
231-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
231+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
232232
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
233233
with:
234234
extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'
@@ -478,7 +478,7 @@ jobs:
478478
env:
479479
PGPASSWORD: postgres
480480
- name: Setup sbt launcher
481-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
481+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
482482
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
483483
with:
484484
extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'
@@ -785,7 +785,7 @@ jobs:
785785
distribution: "temurin"
786786
java-version: 17
787787
- name: Setup sbt launcher
788-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
788+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
789789
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
790790
with:
791791
extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'
@@ -940,7 +940,7 @@ jobs:
940940
distribution: "temurin"
941941
java-version: 17
942942
- name: Setup sbt launcher
943-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
943+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
944944
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
945945
with:
946946
extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", "project/build.properties" ]'

‎.github/workflows/dependency-graph.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
java-version: 17
4949

5050
- name: Setup sbt launcher
51-
uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
51+
uses: sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2
5252

5353
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
5454

0 commit comments

Comments
 (0)