question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invoke shipjs prepare from GitHub

See original GitHub issue

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

  1. Invoke shipjs prepare when someone responsible for releasing process and granted for running it (basically, admin) comments @shipjs prepare in an issue or PR.
  2. Offer simple Web UI (like Dependabot) to provide the Prepare Release button.
  3. (any thoughts?)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
uetchycommented, Nov 19, 2019

@eunjae-lee @KnisterPeter I’ve been thinking about that. Maybe we can do that on GitHub Actions, without concerning maintaining servers:

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.

0reactions
KnisterPetercommented, Oct 26, 2019

@eunjae-lee Github Actions could react on comments in issues or PRs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running shipjs on GitHub Actions · Issue #316
Describe the bug Failed to push tag to the repo while shipjs trigger. ... Invoke shipjs prepare from GitHub #346.
Read more >
How we ship code faster and safer with feature flags
At GitHub, we improve existing features and work on new ones all the time, so we use feature flags to ship faster and...
Read more >
Using git for z/OS with GitHub - Rocket Forum
Because git ships with many perl scripts (many are in contrib, but a few are part of ... Then invoke bash again (just...
Read more >
How to use the git clone command with GitHub by example
Follow along with these three easy steps with the git clone command ... The repository URL is required when the git clone command...
Read more >
I cannot add the parent directory to *safe.directory* in Git
Also, are you invoking git from within the repository directory? ... and make sure you are calling git from within F:/GitHub/my-project for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found