[Bug][CI] GitHub Actions startup failure: third-party actions not in ASF allow-list
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Inspect .github/workflows/integration-test.yml, .github/workflows/publish-docker.yaml, and .github/workflows/auto-comment.yml; compare each referenced action with apache/infrastructure-actions/approved_patterns.yml. Pin permitted actions to approved commit SHAs with version comments, and replace actions-cool/issues-helper because it is not allow-listed. Done when the affected workflows start successfully; PR #5486 is already open against this issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Search before asking
- I searched the issues and found no similar issues.
Linkis Component
- linkis-dist (GitHub Actions CI workflows)
Description
All third-party GitHub Actions that are not covered by the ASF organization Actions allow-list are rejected by GitHub before any job starts, so affected workflows end with conclusion startup_failure (status: "Startup failure"). The jobs never actually run.
Affected references (5 in total):
| Workflow | Line | Reference |
|---|---|---|
.github/workflows/integration-test.yml |
99 | docker/setup-buildx-action@v1 |
.github/workflows/publish-docker.yaml |
58 | docker/setup-qemu-action@v1 |
.github/workflows/publish-docker.yaml |
60 | docker/setup-buildx-action@v1 |
.github/workflows/publish-docker.yaml |
72 | docker/[email protected] |
.github/workflows/auto-comment.yml |
28 | actions-cool/issues-helper@v3 |
The reported annotation is:
The action
docker/setup-buildx-action@v1is not allowed in apache/linkis because all actions must be from a repository owned by your enterprise, created by GitHub, or match one of the patterns: ...
Steps to reproduce
- Open any pull request against
master(for example #5484, a dependabot PR). - Open the triggered
Integration Testrun: https://github.com/apache/linkis/actions/runs/37706014594 - Observe the run status
startup_failureand the allow-list annotation above; no job step ever executes. - Push to
masterand observePublish Dockerfailing the same way: https://github.com/apache/linkis/actions/runs/32231573096 (and every run since 2025-11-24, last success was 2025-11-23). - Open a new issue and observe
Create Commentfailing the same way: https://github.com/apache/linkis/actions/runs/35649775965
Expected behavior
All workflows start and execute their jobs. Third-party actions must be referenced by the exact commit SHA listed in apache/infrastructure-actions/approved_patterns.yml, with the version kept as an inline comment.
Your environment
- GitHub-hosted runner:
ubuntu-latest - Repository: apache/linkis, default branch
master - Trigger:
pull_request,push,issues
Anything else
- This failure is invisible on the PR checks page: a workflow-level
startup_failuredoes not create a check run, so PRs can look green whileIntegration Testis failing (PR #5483 has sixstartup_failureruns yet shows 11 green checks). Runs must be inspected on the Actions tab. actions-cool/issues-helperhas no entry in the ASF allow-list in any form, so it cannot be fixed by pinning a SHA; the step has to be replaced (for example with the runner-providedghCLI).- The red checks currently shown on PRs (
build-backend,spotless-check,sql-check,third-party-dependencies-check) are a separate, unrelated problem: master is broken (see #5482 / PR #5483). - Please also note that the ASF allow-list changes over time, so pinned SHAs may need to be re-synced occasionally.
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
- Ngôn ngữ chính
- Java
- Star
- 3.4k
- Fork
- 1.2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/linkis
-
[Bug] linkis-application-manager's RMUtils class has a logic bugCó thể làm lại được @zhang-arvin đã nhận 49 ngày trước và không có pull request nào đang mở. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
-
Scala Compilation is broken on master branch and recent PRsCó thể đã có người làm @pjfanning đã nhận 27 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
-
[bug][CGS][entrance] parallelgroup cache not updated when entrance instance goes offlineCó thể đã có người làm @zhang-arvin đã nhận 40 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Tất cả issue của apache/linkis
Issue tương tự
-
[Bug] Lock owned by another client (e.g. Text app) cannot be unlocked from the appCó thể đã có người làm @falkloewert đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
oracle/graalvm-reachability-metadata#11026 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
CodeForPhilly/benefit-decision-toolkit#565 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
checkstyle/checkstyle#22050 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày