Skip to content

Recompile daily-doc-updater lock file - #15

Merged
amjithtitus09 merged 1 commit into
mainfrom
amjithtitus09-recompile-daily-doc-updater-lock
Jul 31, 2026
Merged

Recompile daily-doc-updater lock file#15
amjithtitus09 merged 1 commit into
mainfrom
amjithtitus09-recompile-daily-doc-updater-lock

Conversation

@amjithtitus09

Copy link
Copy Markdown
Member

Problem

CI fails with:

ERR_CONFIG: Lock file '.github/workflows/daily-doc-updater.lock.yml' is outdated! The workflow file '.github/workflows/daily-doc-updater.md' frontmatter has changed. Run 'gh aw compile' to regenerate the lock file.

Root cause

PR #11 ("Fix pre_activation: add GH_TOKEN to gh CLI step") hand-edited both the source daily-doc-updater.md frontmatter (adding GH_TOKEN: ${{ github.token }} to the pre-activation check step) and the compiled lock file, but never ran gh aw compile. As a result the lock's frontmatter_hash stayed stale (6730cf…) while the current .md frontmatter hashes to a9a44b…, which is exactly what the strict compile check flags.

Fix

Regenerated the lock file with GitHub Agentic Workflows:

  • Pinned the gh aw extension to v0.81.6 — the same version that produced the committed lock (gh extension install github/gh-aw --pin v0.81.6). The locally-installed v0.80.9 would have downgraded the compiler/engine versions and produced a large spurious diff.
  • Ran gh aw compile at the repo root.

Result — only .github/workflows/daily-doc-updater.lock.yml changes (6 insertions / 4 deletions):

  • frontmatter_hash updated 6730cf…a9a44b… so it matches the current .md frontmatter.
  • The env: GH_TOKEN block is emitted in the compiler-canonical position.
  • No version downgrade — compiler_version stays v0.81.6, copilot engine stays 1.0.65.

Verification

Re-running gh aw compile after the change produces zero lock diff, confirming the frontmatter_hash now matches and CI's ERR_CONFIG check will pass.

Notes

  • The source .md file was not modified.
  • gh aw compile also emits .github/aw/actions-lock.json and .github/workflows/agentics-maintenance.yml, which are not (and never have been) tracked in this repo. They are intentionally excluded from this PR to keep it scoped to the lock fix and avoid introducing a new scheduled maintenance workflow.

Regenerate .github/workflows/daily-doc-updater.lock.yml with gh aw compile
(v0.81.6) so its frontmatter_hash matches the current
daily-doc-updater.md frontmatter, resolving the ERR_CONFIG "Lock file is
outdated" CI failure. The prior commit hand-edited the .md frontmatter
(and lock) to add GH_TOKEN to the pre-activation check step without
recompiling, leaving a stale frontmatter_hash.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@amjithtitus09
amjithtitus09 merged commit 071028b into main Jul 31, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 31, 2026
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