Skip to content

Docs: Mark the action as deprecated - #229

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-228
Nov 26, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-228

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #228

Authored by an AI agent; human review required
Command Exit
prek run --files README.md 1
git commit -s (commit-msg and pre-commit hooks) 0
AISLOP_NO_TELEMETRY=1 aislop scan --changes --base d1ad8cc4cbd55c8b965a167aa12cfd8704cbaeaf --json 0
prek run --files README.md 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.


Mark this action as deprecated in README.md and show callers how to move to lfreleng-actions/build-metadata-action. Only README.md changes; action.yaml, workflows and tests are untouched.

What changed

  • Deprecation notice under the title, as a > [!WARNING] alert: the action gets no further development, the repository will be archived, existing tags and commits keep working after that, and a link to the migration section.
  • New section, ## Migrating to build-metadata-action:
    • names v0.13.5 as the minimum release, because earlier releases can take a setup.py name from the wrong identifier (Fix: Read setup.py name and version from setup() build-metadata-action#227);
    • shows the replacement step, pinned to a placeholder SHA with a # REPLACE: vX.Y.Z comment, with a note on what each input does and that the step sets up Go and builds a binary on each run;
    • maps all four outputs in a table;
    • lists the three differences: how the package name is derived, what happens when a project has no name, and which characters a name may hold.
  • Two corrections so the archived README stays accurate:
    • removed the sentence saying the action also exports its outputs as environment variables. action.yaml writes step outputs only, and it has no GITHUB_ENV writes.
    • the ## Inputs table now names the input path_prefix, matching action.yaml.

Checks run

  • prek run --files README.md before the final fixes: failed on write-good (passive voice, weakening words) and markdownlint MD013 (the 106-character uses: line in the YAML example). I reworded the text and added MD013 guards around that code block.
  • prek run --files README.md after the commit: all hooks passed, including gitlint at the commit-msg stage, markdownlint, write-good, codespell, reuse and aislop.
  • aislop scan --changes --base <base_sha> --json with AISLOP_NO_TELEMETRY=1: empty diagnostics.

For reviewers

  • The YAML example has <!-- markdownlint-disable MD013 --> guards around it, as the tables do. Without them, the uses: line with its pinned placeholder SHA and # REPLACE comment goes over the 80-character limit. I kept the line as the issue gives it instead of shortening the comment.
  • The notice says "The maintainers will archive this repository" because write-good rejects the passive wording.
  • I left the existing description of how the action reads each file unchanged, as the issue asks.

build-metadata-action reports everything this action reports, and
the actions that called this one have moved to it. Add a deprecation
notice under the title and a section that shows the replacement
step, maps the outputs and states where the two actions differ, so
callers can move before the repository is archived.

Correct two errors so the archived README stays accurate: the
action no longer exports its outputs as environment variables, and
the input is named path_prefix, not PATH_PREFIX.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>
@lf-releng-code-monkey-bot
lf-releng-code-monkey-bot Bot requested a review from a team November 26, 2026 19:26
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The migration depends on an unavailable v0.13.5 tag and open prerequisite #231, requiring maintainer verification of release readiness, fallback behavior, and archive timing.

No open issues 🎉

What changed in this PR

This documentation-only PR marks the action as deprecated ahead of repository archival and guides callers to lfreleng-actions/build-metadata-action.

Changes:

  • Adds a deprecation warning and confirms existing tags and commits remain usable.
  • Documents migration to v0.13.5 or later, including configuration, output mappings, runtime cost and behavior differences.
  • Corrects the path_prefix input name and removes the inaccurate claim that outputs are exported as environment variables.
File Description
README.md Adds deprecation and migration guidance and corrects existing input/output documentation.

Review effort: Balanced

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit acb1bb1 into lfreleng-actions:main Nov 26, 2026
17 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-228 branch November 26, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Mark the action as deprecated

2 participants