Add deprecate-editions workflow; switch product-release to client-id#587
Open
bschwedler wants to merge 1 commit into
Open
Add deprecate-editions workflow; switch product-release to client-id#587bschwedler wants to merge 1 commit into
bschwedler wants to merge 1 commit into
Conversation
Adds a reusable workflow that runs on the 1st of each month and opens a PR removing product editions older than 18 months. The cutoff is computed as (today - 18 months), matching the Posit supported-versions end-of-support policy. For workbench, an optional input also updates the workbench-positron-init min constraint to track the same window. Switches product-release.yml from the legacy app-id GitHub App input to client-id, as recommended by actions/create-github-app-token. Product repos must update their release.yml callers accordingly before the next manual release dispatch.
| pull-requests: write | ||
| steps: | ||
| - name: GitHub App Token | ||
| uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 |
Comment on lines
+43
to
+45
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| token: ${{ steps.app-token.outputs.token }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a reusable workflow (
deprecate-editions.yml) that runs on the 1st of each month and opens a PR in each product repo removing editions that have passed their 18-month end-of-support date. This stops those editions from being built going forward — it does not remove any already-published images from Docker Hub or GHCR. An optionalupdate-positron-mininput (enabled in workbench) also updates theworkbench-positron-initmin constraint to track the same window.Switches
product-release.ymlfrom the legacyapp-idinput toclient-idforactions/create-github-app-token. Product repos must merge their corresponding PRs before the next manual release dispatch.