Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Option for a trunk-only deployment #103

Open
johnbillion opened this issue Aug 2, 2022 · 2 comments
Open

Option for a trunk-only deployment #103

johnbillion opened this issue Aug 2, 2022 · 2 comments
Labels
help wanted Extra attention is needed type:enhancement New feature or request.

Comments

@johnbillion
Copy link

johnbillion commented Aug 2, 2022

Is your enhancement related to a problem? Please describe.

I'd like to be assured that a deployment to wordpress.org is as expected before tagging it.

Describe the solution you'd like

If it was possible to perform a trunk-only release via this action, I could then verify the changes in the trunk branch are expected before triggering a regular release which creates the tag.

It would be neat if this action supported a configuration environment variable that instructed it to only deploy the changes to trunk, without also copying them to the tag. It would need to be possible to perform a subsequent release to the tag without it being skipped due to no changed files, so maybe two vars are needed such as NO_TRUNK and ONLY_TRUNK.

@peterwilsoncc peterwilsoncc added the type:enhancement New feature or request. label Aug 3, 2022
@vikrampm1 vikrampm1 moved this to Incoming in Open Source Practice Aug 3, 2022
@jeffpaul jeffpaul moved this from Incoming to Backlog in Open Source Practice Mar 20, 2023
@jeffpaul jeffpaul added this to the Future Release milestone Mar 20, 2023
@jeffpaul jeffpaul added the help wanted Extra attention is needed label Mar 20, 2023
@jeffpaul
Copy link
Member

An interesting idea, though admittedly not likely something I would look to spend much time on building out, so if that's something you would want to contribute then I would at least look to help with code review, merge, and future support/maintenance.

@danieliser
Copy link

I think another option here would be adding an additional output changed-files, that works with both dry-run enabled or disabled. This could then be piped into any other action.

Like @johnbillion I want validation I'm not pushing a broken build some times.

Current workaround is to on creation of draft release we build a zip and attach it to the release, but also run deploy action on dry-run. I'd love to not have to manually check it in the action logs, but its just one more safety net.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
help wanted Extra attention is needed type:enhancement New feature or request.
Projects
Status: Backlog
Development

No branches or pull requests

4 participants