-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: setup nightly flow #82
Conversation
Mmm for some reason it doesn't run the CI 🤣 |
ci.yml is the entry point
might be a context thing?
This still needs further work and testing but the idea is there. A few ideas I want to finish: - use an explicit nushell version for the release tests. for now it uses "*" which is latest release. - thanks to the previous point we can cache installs. - for this logic to be sane main should be locked and only accept PR
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.
first: review on the main ci.yml
=> it looks great 🥳
i'll just push minor refactors and i have a few small questions 😌
then i'll review the two others 😏
54e4020
to
8baafd0
Compare
8baafd0
to
01b971d
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.
i also have a few questions on the two new main actions 😉
|
let's see if it works, it's much less readable 😅
0af2c8e
to
d1cc0f0
Compare
|
Not sure any output is needed if we use an input now
There is just one thing we need to do before merge btw! (Add write rights for now push will fail) |
okey, you wanna do that? there is a single thread missing, i don't know the syntax nor where to search for documentation for it 👀 |
It's just a matter of using the builtin GitHub token I think, I will give it a quick look tonight |
|
03afd00
to
4e752d3
Compare
4e752d3
to
2a33119
Compare
This reverts commit 2a33119.
|
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.
thanks @melMass for working on this, really much appreciated 🙏
let's land this PR and see how it goes 😇 🤞
for both the *dry* check and the real sync, the GitHub action needs to be able to perform a merge. for this Git needs to be setup, otherwise the runner cannot commit and create the merge commit, which [crashed the CI](https://github.com/amtoine/nu-git-manager/actions/runs/6905039750) after #82. this PR - moves the Git setup before the *merge* step - always sets up Git, regardless of the value of `do_push` and `$env.ACT`
Text for the squash merge:
reworks the CI logic a bit and introduces the idea of the
nightly
branch.execution of the CI
ci.yml
will trigger as usual*.md
files onlymain
andnightly
nupm-tests.yml
actions/setup_nupm
main will use a pinned version (0.87 for now), nightly.... nightly.
check_nightly.yml
will make sure that PRs onmain
can be safely merged intonightly
main
is closed, the newmain
branch will be merged intonightly
TODO
mergeable in nightly