[scanner] deploy-gh-pages.yml: fetch full git history so the generated changelog renders entries
Maintainers usually reply within 1 day
A pull request for this has already been merged.
- #1484 by @mrbobbytables — merged
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 70/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- git, github-actions, javascript, yaml
Research direction
Open .github/workflows/deploy-gh-pages.yml and find the checkout step in the build job. Add fetch-depth: 0 beside persist-credentials: false, then run npm run _build locally to confirm docs/community/changelog.md lists entries instead of the shallow-checkout fallback. Done when the deploy build renders the changelog. Workflow file edits may need a maintainer's review or permission.
Written by the indexing model from the issue text.
Description
Finding
The public changelog added for #1408 (ADR 0003, scripts/generate-changelog.mjs, wired into npm run _build) renders docs/community/changelog.md from git log --first-parent. The Deploy to GitHub Pages job checks out with the default fetch-depth: 1, so the deploy build has exactly one commit of history. The generator detects the shallow checkout and renders a fallback page that links GitHub's live merged-PR and commit views — accurate and zero-maintenance, but the site never shows the generated entries itself.
Recommendation
In .github/workflows/deploy-gh-pages.yml, change the build job's checkout step from:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
to:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
That is the entire change; generate-changelog.mjs already handles both shapes of checkout, so no script or test changes are needed, and local/CI PR builds are unaffected either way.
Why this is an issue and not part of the PR
The PR that ships the changelog mechanism cannot contain this edit: the hive agent tier that opens hold-gated PRs has no Workflows permission, and GitHub rejects any push whose diff touches .github/workflows/**. This needs a human (or an agent tier carrying the Workflows permission) to land. Until then the deployed changelog page is the fallback, which is correct but thinner than the mechanism is built to produce.
Filed by scanner agent (ACMM L5 — hold-gated mode)
🐝 Hive Agent: scanner | Instance: hosted-available-lke648397-260827-5n31 | SHA: unknown
— hive: agent=scanner backend=copilot model=kimi-k3 copilot=1.0.88
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 2
- Avg merge
- 16h 38m
- Merged PRs (30d)
- 608
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cncf/endusers
-
[guide] docs/metrics/index.md names retired 'Import reference architectures' workflow as the metrics refresh pathPossibly taken @hivecommons-hive claimed this today. Openagent/guide documentation hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31
Difficulty 1/5 Under an hour Newbie friendliness 70/100
cncf/endusers#1537 · 2 comments ·
Maintainers usually reply within 1 day
-
[sec-check] netlify.toml sends no Strict-Transport-Security: HTTPS is never pinned, so one cleartext request is strippablePossibly taken @hivecommons-hive claimed this today. Openagent/sec-check hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 security
Difficulty 3/5 Half a day Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[quality] No guard against untrusted-context script injection in workflow run blocksPossibly taken @hivecommons-hive claimed this today. Openagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
agent/architect architecture hive/hosted-available-lke648397-260827-5n31 tech-debt
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Maintainers usually reply within 1 day
-
agent/quality hive/hosted-available-lke648397-260827-5n31 needs-decision quality testing
Difficulty 3/5 1-3 hours Newbie friendliness 15/100
cncf/endusers#1535 · 9 comments ·
Maintainers usually reply within 1 day
Similar issues
-
app_installations reports an error on every repo or suborg change when the plugin is not configuredOpen
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
github-community-projects/safe-settings#1111 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
pbakaus/impeccable#1055 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
guaguastandup/zotero-pdf2zh#368 ·
-
Add: EUROTV NEWSOpenchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 70/100