-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke shipjs prepare from GitHub #346
Comments
https://github.com/algolia/shipjs/blob/master/.circleci/config.yml#L69 You already can run shipjs prepare without interaction :) It's not yet documented well. |
@eunjae-lee That's awesome! |
@uetchy yes! If we don't have to type I thought about what you said, and I feel like we need to have some sort of server or whatever to monitor the comments or at least receive and handle webhooks from GitHub if there're any. |
@eunjae-lee Github Actions could react on comments in issues or PRs. |
@eunjae-lee @KnisterPeter on:
issue_comment:
types: created
jobs:
manual_release:
if: |
github.event_name == 'issue_comment' &&
(github.event.comment.author_association == 'member' || github.event.comment.author_association == 'owner') &&
startsWith(github.event.comment.body, '@shipjs prepare')
runs-on: ubuntu-latest
steps:
- run: shipjs prepare In that case, however, we have to resolve #316 first to ensure shipjs is compatible with GitHub Actions. |
shipjs trigger
can be automated thanks to CI.To achieve frictionless release flow within the GitHub interface,
shipjs prepare
must also be able to be invoked without manually typing the CLI command from someone's PC.Possible solution
shipjs prepare
when someone responsible for releasing process and granted for running it (basically, admin) comments@shipjs prepare
in an issue or PR.Prepare Release
button.The text was updated successfully, but these errors were encountered: