Skip to content
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

Run Danger with GitHub Actions #1635

Merged
merged 3 commits into from Aug 22, 2019

Conversation

nguyenhuy
Copy link
Member

@nguyenhuy nguyenhuy commented Aug 22, 2019

Our Danger check no longer works after we remove the BuiltKite hook. This PR attempts to run Danger with GitHub Actions.

There are 2 projects: Danger Ruby, which is what we've been using, and Danger JS. Both support GitHub Actions but the Danger Ruby action is not yet stable and would fail at build step (danger/danger#1148). As a result, I converted our (Ruby) Dangerfile to a new dangerfile.js file and use it with Danger JS.

There are a couple of issues with the Danger JS setup which are documented in the workflow file (here). Those are not blocking issues IMO.

Test Plan: Tested locally (yarn danger pr) with multiple PRs: 788, 832, 1492, 1633, 1635, 1528, 1572 and this PR.

@nguyenhuy nguyenhuy changed the title [WIP] Run Danger with GitHub Actions Run Danger with GitHub Actions Aug 22, 2019
@nguyenhuy nguyenhuy changed the title Run Danger with GitHub Actions [WIP] Run Danger with GitHub Actions Aug 22, 2019
@nguyenhuy nguyenhuy changed the title [WIP] Run Danger with GitHub Actions Run Danger with GitHub Actions Aug 22, 2019
Copy link
Member

@garrettmoon garrettmoon left a comment

Choose a reason for hiding this comment

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

Looks better than the old one to me!

@nguyenhuy
Copy link
Member Author

All green! 🎉

Thanks for reviewing!

@nguyenhuy nguyenhuy merged commit fff7763 into TextureGroup:master Aug 22, 2019
@nguyenhuy nguyenhuy deleted the HN-Danger-Action branch August 22, 2019 17:26
matthewd1234 pushed a commit to matthewd1234/Texture that referenced this pull request Aug 25, 2019
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.

None yet

3 participants