`gh actions-lock` hangs with `github/codeql-action`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
调研方向
Start by tracing the reverse lookup for a pinned SHA in the gh actions-lock workflow planning path; the issue points to github/codeql-action and the logged comparison request as the failing case. Reproduce with the supplied workflow and observe whether lookup completes or is canceled. Done when the command finishes instead of hanging on that pinned SHA.
由索引模型根据 Issue 内容生成。
描述
With the following workflow, gh actions-locks appears stuck:
name: "CodeQL"
on:
push:
branches: [ "main" ]
jobs:
analyze:
name: Analyze
runs-on: [depot-ubuntu-24.04]
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript', 'ruby', 'actions']
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@0daab03d71ff584ef619d027a3fd9146679c5d84 # v3.35.3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@0daab03d71ff584ef619d027a3fd9146679c5d84 # v3.35.3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@0daab03d71ff584ef619d027a3fd9146679c5d84 # v3.35.3
with:
category: "/language:${{matrix.language}}"
gh actions-lock .github/workflows/codeql.yml
Checking 1 workflow ⡿
pinning .github/workflows/codeql.yml ⠋ (still working…)
The logs seem to indicate it's stuck identifying the ref belonging to the pinned SHA:
planning .github/workflows/codeql.yml: reverse lookup: github/codeql-action@0daab03d71ff…:
comparing 0daab03d71ff with github/codeql-action branch <random-branch> …/compare/…?per_page=1&page=2: context canceled
I have not waited around long enough to see if it eventually completes.
- 主要语言
- Go
- 星标
- 295
- 派生
- 21
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 64
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/gh-actions-lock 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
github/gh-actions-lock#271 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
github/gh-actions-lock#272 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
github/gh-actions-lock#268 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
github/gh-actions-lock#266 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
github/gh-actions-lock#264 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 github/gh-actions-lock 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
microsoft/TypeScript#65370 ·
维护者通常 1 天内回复
-
bug tech debt testing
难度 2/5 1-3 小时 新手友好度 76/100
aws/amazon-vpc-cni-k8s#3976 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
txn2/mcp-data-platform#2522 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
open-telemetry/opentelemetry-go-contrib#10234 ·
维护者通常 1 天内回复
-
discovery/backoff: default FindPeers limit yields no fresh peers可能已有人在做 @zakazaka95 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100