Skip to content

ci: fetch the acceptance run without the brittle status filter - #220

Merged
wangzhizhou merged 1 commit into
mainfrom
dev
Nov 5, 2026
Merged

wangzhizhou merged 1 commit into
mainfrom
dev

Conversation

@wangzhizhou

Copy link
Copy Markdown
Contributor

v1.0.2 的发布在 Fetch the signed/notarized acceptance package 步骤失败:

gh run list -w macos-acceptance.yml --commit 08af103 --status success --limit 1

对该提交返回空,但拆开任一条件都正常:

命令 结果
--commit 08af103 返回 42002441775(success)
--status success --limit 3 返回多个
--commit 8b9144a --status success 返回 41992603633

所以不是权限或产物缺失,是过滤器组合的行为问题。改为只按提交筛选,再用 jq 挑 status==completed && conclusion==success,并在注释里记下这次失败,避免以后有人又加回 --status。

验证:YAML 语法由 CI 检查;发布本身会在合并后重新 dispatch release.yml -f tag=v1.0.2 验证。

Filtering with --status success together with --commit returned an empty
list for the 1.0.2 tag commit even though each filter works alone, which
failed the release before it could fetch the package. The lookup now
filters by commit only and selects the completed successful run in jq.

Signed-off-by: wangzhizhou <824219521@qq.com>
@wangzhizhou
wangzhizhou merged commit 674e7e0 into main Nov 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant