Skip to content

docs: maintain API versions through release PRs - #363

Merged
crandmck merged 4 commits into
mainfrom
rmckinne-adobe-release-docs-publishing
Dec 1, 2026
Merged

crandmck merged 4 commits into
mainfrom
rmckinne-adobe-release-docs-publishing

Conversation

@crandmck

Copy link
Copy Markdown
Collaborator

Changes in this pull request

Move api-docs/versions.json maintenance into the release PR instead of having the documentation workflow commit and push directly to protected main.

  • Remove the automatic version-list update and Git commit/push step introduced by docs: update API doc versions on stable releases #357.
  • Keep repository contents access read-only and disable persisted checkout credentials; GitHub Pages deployment permissions are unchanged.
  • Publish docs on GitHub release publication or manual dispatch, not pushes to main. This avoids trying to build a newly merged version entry before its release exists; the builder remains strict about published releases.
  • Document adding entries for new stable major/minor lines in the release PR, retaining older entries and skipping patch releases and prereleases. Add a reminder to the PR checklist.
  • Documentation-only updates require manual dispatch after merging. This change does not alter the selected versions or automatically prepare release PRs.

Validation: all 10 existing versioned-documentation tests passed; YAML checks confirmed release/manual triggers, read-only contents permissions, disabled persisted credentials, and preserved build/deployment steps. git diff --check passed.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • If this is a stable release introducing a new major/minor version line, its tag has been added to api-docs/versions.json (patch releases and prereleases do not add entries). N/A: this is not a release PR.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment. N/A: no TODO items added.

Remove automatic version-list commits and push-triggered deployment. Publish the reviewed list after release publication or manual dispatch.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
crandmck and others added 2 commits November 25, 2026 09:42
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@crandmck
crandmck marked this pull request as ready for review November 25, 2026 17:50
@crandmck
crandmck requested a review from tmathern November 30, 2026 20:22

@tmathern tmathern left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you merge in latest main into this branch? I am not sure the changes to AGENTS.md and AI_WORKFLOW.md should be flagged in this PR.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@crandmck
crandmck changed the base branch from main to ci/c2pa-rs-breaking-change-receiver November 30, 2026 21:06
@crandmck
crandmck changed the base branch from ci/c2pa-rs-breaking-change-receiver to main November 30, 2026 21:06
@crandmck

Copy link
Copy Markdown
Collaborator Author

Those files were not actually modified by this PR.

GitHub’s PR comparison was stale--it reported an older main commit as its base. I fixed it by switching the base branch to something else and then back to main.

@crandmck
crandmck requested a review from tmathern November 30, 2026 22:46
@crandmck
crandmck merged commit ef0716e into main Dec 1, 2026
32 checks passed
@crandmck
crandmck deleted the rmckinne-adobe-release-docs-publishing branch December 1, 2026 17:25
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.

2 participants