-
Notifications
You must be signed in to change notification settings - Fork 1
feat: GitHub Action to manage Review Apps on Heroku #1
Conversation
5c093fb
to
54c7dce
Compare
} | ||
return result; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}); | ||
return postComment(comment); | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}); | ||
return postComment(comment); | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very very nice.
A couple of overarching questions before I dive into a proper review:
|
Hi @kanadgupta:
|
Ah, the ncc issue is ilearnio/module-alias#81 because I'm using Let me see if I can get things to run properly without |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
}); | ||
return postComment(comment); | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very very nice.
51be945
to
fd23e06
Compare
@kanadgupta OK, I've got |
With 1 approval I'm going to merge this so that I can start adding the action to our repos, but I'd encourage everyone to keep reviewing this and comment if you have any questions or feedback. 🙇🏼 |
This is a GitHub Action that can be used as an alternative to Heroku Review Apps! It manages the full lifecycle of a review app:
There's more documentation in the
README.md
file, so I'd start there.I created this by starting with the review app tool I had built for readme (https://github.com/readmeio/readme/pull/6616) and modifying it to work as a GitHub action. As a result most of the code in
src/heroku.js
,src/netrc.js
, andsrc/git.js
is copied over from that script, along with the tests for those files.Note that the
node_modules
directory needs to be checked into this repo, so that the GitHub Action can run without a separate install step. I've committed that directly tomain
so that it doesn't show up in this PR.Also note that this repo is public so please don't post anything proprietary in your PR comments!