BUG: the changelog workflow stopped running, and CHANGELOG.md is 37 merged pull requests behind
維護者通常 3 天內回覆
已經有一個關聯 PR 被合併了。
- #1180 來自 @ting-hong-shieh —— 已合併
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
研究方向
Start with .github/workflows/changelog.yml on master and develop, then inspect the failing checkout step in run 31756544967 and compare the workflow run events with the documented pull_request_target behavior. Check the Actions secret configuration with repository access; the issue notes it may not be visible publicly. Done means merged pull requests to develop populate [Unreleased] again, and the missing entries are accounted for.
由索引模型根據 Issue 內容生成。
描述
The last commit to CHANGELOG.md is 5eae273b, on 12 August. Thirty-seven pull requests have been merged into develop since then and none of them is recorded, so the [Unreleased] section no longer describes what is on the branch. The highest pull request it mentions is #1140.
Two things went wrong, one after the other, and both need fixing before entries start appearing again.
The workflow has not been triggered since #1112
#1112 changed the trigger from pull_request to pull_request_target, so the job would run for pull requests from forks, and merged at 2026-08-14T09:44:01Z. Nothing has run since.
2026-08-14T00:12:03Z failure
2026-08-14T00:05:22Z failure
2026-08-13T23:59:03Z failure
2026-08-13T13:15:27Z failure
2026-08-12T22:27:08Z success
The next merge after #1112 was #1149 at 2026-08-14T09:45:03Z, and thirty more have landed since. The workflow is still active, so it has not been disabled.
Where GitHub reads the file from looks like the reason. The documentation says a pull_request_target workflow is taken from the default branch rather than from the pull request's base branch. This repository's default branch is master, which is 77 commits behind develop and still carries the older changelog.yml with the pull_request trigger. The pull_request_target version exists only on develop, where nothing reads it.
.github/workflows/pr_agent.yml sits the same way: pull_request_target, present only on develop, last run 2026-08-12T02:44:27Z. Every recorded run of both workflows reports event=pull_request, which fits neither having fired under the newer trigger.
I cannot see the repository's Actions settings, so there may be something here that is only visible from the inside.
RELEASE_TOKEN was already empty before that
The four runs before #1112 did fire, and all four died on the first step:
##[error]Input required and not supplied: token
That step is actions/checkout with token: ${{ secrets.RELEASE_TOKEN }}, so the secret is resolving to nothing. The last run that got past it was 2026-08-12T22:27:08Z, which puts the change somewhere between then and 2026-08-13T13:15:27Z.
This one will still be waiting once the trigger works again, so it is worth checking the secret at the same time rather than after another round of silent failures.
To reproduce
gh api repos/RocketPy-Team/RocketPy/actions/workflows \
--jq '.workflows[] | select(.name=="Populate Changelog") | .id'
gh api "repos/RocketPy-Team/RocketPy/actions/workflows/<id>/runs?per_page=10" \
--jq '.workflow_runs[] | "\(.created_at) \(.conclusion // .status) event=\(.event)"'
For the token, the failing step's log is in run 31756544967, job 94633386642.
Expected behavior
A pull request merged into develop adds its entry to the [Unreleased] section of CHANGELOG.md, which is what the pull request template promises contributors when it tells them the file needs no action from them.
Additional context
#1101 is the fork problem #1112 set out to solve, and #905 is where the automation came from, so neither of those covers this.
Whatever the fix turns out to be, the thirty-seven entries from the gap will not appear on their own. It may be easier to write them in one pass from the merge list than to try to replay the workflow over each pull request.
- 主要語言
- Python
- 星號
- 1.1k
- 分支
- 280
- 平均合併
- 3 天 2 小時
- 30 天內合併 PR
- 24
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
RocketPy-Team/RocketPy 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
RocketPy-Team/RocketPy#1255 ·
維護者通常 3 天內回覆
-
難度 1/5 1 小時以內 新手友好度 92/100
RocketPy-Team/RocketPy#1241 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
RocketPy-Team/RocketPy#1202 ·
維護者通常 3 天內回覆
-
Monte Carlo test fixtures write their logs into the working directory可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
RocketPy-Team/RocketPy#1189 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
RocketPy-Team/RocketPy#1171 · 1 則留言 ·
維護者通常 3 天內回覆
查看 RocketPy-Team/RocketPy 的全部 Issue
相似的 Issue
-
docs(contributing): the two things that silently block a PR可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉available documentation good first issue
難度 1/5 1-3 小時 新手友好度 95/100
Nixitov/Riptide-Native#944 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
JTHCode/secretguard#24 ·
維護者通常 1 天內回覆
-
area: middleware documentation good first issue
難度 2/5 1-3 小時 新手友好度 88/100
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
good first issue
難度 1/5 1 小時以內 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 ·
維護者通常 1 天內回覆