-
Notifications
You must be signed in to change notification settings - Fork 4
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
Version 0.25.0: Rework CI and Contributions #90
Conversation
I don't know why, but this is taking like 15 minutes and counting to install
Generated by 🚫 Danger Swift against 4ab8a1e |
The idea is that all PRs will be to master, but that only some PRs will be a 'new version'.
It probably won't work, but I should keep trying.
I tried to figure out how danger/swift and danger/js interact, and I think I more or less got it, but unless this works I think I will need to make a feature request
Here's the problem I've got: I want Danger to report both as a status check, and as a comment, with inline comments/fails/suggestion support. I also want Danger to run on PRs from forks, which mean I need to expose an API Token for either my account or @Samasaur, my bot account, which means that it could be extracted, which means I need to be careful about its allowed scopes. The two potential scopes to use are (from this list):
I think ideally there'd be a |
It might be possible to do what I have listed above using two bot accounts, but at this point I don't care. And Travis CI has now stopped supporting open-source CI (I think?) so I have to deal with that too |
Really I just have to choose between comments without status checks and status checks without comments. Either one will work, since I trust myself to see read comments before merging, and status checks will force me to wait for them. Actually, I'll probably go with status checks, just in case I miss the comment. I think Danger should let me get fairly granular and specific with the status checks, which is nice. |
I was hoping to remove Danger completely, since it's kinda a pain, but c'est la vie |
with GitHub Actions maybe I can run Danger for status checks as myself and leave comments as my bot user? |
Generated by 🚫 Danger Swift against f1a42eb |
I also need to fix Danger again, because the tasks are output in the wrong order |
And I don't know what it's complaining about with the two link comments, because I'm fairly sure they're right — I'll double-check |
I'm also still seeing
in the Danger logs, which I believe is due to Danger running in the PR and therefore the token not having write access. For now, it's able to comment because the PR isn't coming from a fork, but I probably want to change this to use the |
OK, well, I was wrong. I had the compare backwards. |
The other link complaint is because I have the CHANGELOG comparing against The new idea is that there will be no So what Danger is saying (i.e., what past-me who set up Danger was saying) is that upcoming changes shouldn't be comparing |
Also, the other link comment was resolved when Danger finished |
I also need to update the required checks on PRs |
OK so I have seen the Danger inline comments/fails. I don't know why they don't work consistently (possibly because there were too many submitted at once/), but I think it's good enough. I'll also create an issue about making Danger work for other people's contributions. |
Here's what's new:
release.sh
release.sh
may not be necessary, as the goal of this PR is to remove thedevelopment
branch entirely.Here's what has to happen:
- [ ] Ensure the changelog has everything new that is being added- [ ] Bump version (runupdateVersion.sh
)1. Runrelease.sh