Skip to content

Fix manual workflow_dispatch for regular monthly releases#352

Merged
juliasilge merged 1 commit into
mainfrom
fix-doc-bundles-for-gh-release
May 4, 2026
Merged

Fix manual workflow_dispatch for regular monthly releases#352
juliasilge merged 1 commit into
mainfrom
fix-doc-bundles-for-gh-release

Conversation

@juliasilge
Copy link
Copy Markdown
Collaborator

#337 added a create_release input to gate whether the workflow creates a new GitHub release or uploads assets to an existing one, but only declared it under workflow_call. Manual workflow_dispatch runs evaluated inputs.create_release as empty, skipped "Create Release", and fell through to "Upload assets to existing release", which failed with release not found (e.g. the run I just did for today's release: https://github.com/posit-dev/positron-website/actions/runs/25339184081).

This PR adds create_release to the workflow_dispatch inputs with default: true so manual runs create a fresh release by default, with a checkbox to opt into the upload-only path. The workflow_call caller in posit-dev/positron-builds (update-workbench.yml) is unaffected; it passes create_release: false explicitly.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

Deploy Preview for positron-posit-co ready!

Name Link
🔨 Latest commit 044c1f3
🔍 Latest deploy log https://app.netlify.com/projects/positron-posit-co/deploys/69f8f8678fce3b0009447ae2
😎 Deploy Preview https://deploy-preview-352--positron-posit-co.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@juliasilge juliasilge marked this pull request as ready for review May 4, 2026 19:50
@juliasilge juliasilge requested a review from sharon-wang May 4, 2026 19:50
Copy link
Copy Markdown
Member

@sharon-wang sharon-wang left a comment

Choose a reason for hiding this comment

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

thank you! LGTM 👍

@juliasilge juliasilge merged commit d3c1bf4 into main May 4, 2026
5 checks passed
@juliasilge juliasilge deleted the fix-doc-bundles-for-gh-release branch May 4, 2026 19:59
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