-
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
refactor: extract reassure-danger package #118
refactor: extract reassure-danger package #118
Conversation
🦋 Changeset detectedLatest commit: 8ff650a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Above is failing I think I might have missed something. Please guide. |
2d97ffa
to
36a0c68
Compare
Seems like running I guess we can also rollback version updates, in favour of changesets. |
36a0c68
to
6708dad
Compare
It is still waiting for one check to complete. Do we still need to make a change to |
6708dad
to
0fef305
Compare
I've exacted the |
Okay, |
@ShaswatPrabhat For some reason the Danger step is not working properly, as there is no Danger report in this PR. We need to sort this out before merging. |
The
Seems to be a permission issue. But comparing with some other |
@ShaswatPrabhat yes, this seems to be the error that is blocking us right now. I've checked and previous successful builds, did not have this. The error does not really make sense, maybe there is a "deeper" error that is trigger this error but not build displayed. Is it possible to run Danger on local machine to avoid long CI feedback loop> |
3af7653
to
48468be
Compare
@ShaswatPrabhat I've found the root cause why do not see the perf report for your PR. It is due to GITHUB_TOKEN not being allowed for forked repos. I've published the same PR but on main repo and there is a correct perf report: #133. |
Thank you very much @mdjastrzebski 👍🏼 |
Update dangerfile.ts to use new reassure-danger import path Remove plugins from reassure package Update Readme to point to reassure-danger import path Add changeset for new reassure-danger and minor bump for reassure chore: attempt to fix danger on CI chore: attempt 2 to fix danger on CI Add permissions in main.yaml file for workaround of forked PRs due to dangerjs
I am thinking about way the users should import danger plugin: Option A: import from danger plugin package // in dangerfile.ts
import reassure from '@callstack/danger-plugin-reassure' That way we could make root package not include Option B: import directly from root package // in dangerfile.ts
import { dangerReassure } from 'reassure' Which is good for now, but in the future Danger will not be our only CI integration method. @thymikee wdyt about these? Maybe you got some other approach? |
9c05e36
to
8737609
Compare
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.
Looks good. @thymikee please also take a look as I've messed a lot with this PR, so a fresh eye could spot new things.
Aim: To extract reassure-danger to a separate package
Link for the issue can be found here