-
Notifications
You must be signed in to change notification settings - Fork 231
Create initial Github CI flow #775
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
base: next
Are you sure you want to change the base?
Conversation
|
NOTE: WIP, needs some tidying up before merge - I welcome feedback about what we can trim out of this initial merge. |
3aeaee1 to
6bb18c7
Compare
Add .github/workflows/main.yml; update build.gradle to not fail build on Javadoc errors See: https://freenet.mantishub.io/view.php?id=7179
|
This looks like a good start. Thank you! It will need some additional tightening of security before we can merge it:
|
|
Thanks for the comments, let me look into this |
|
Digging this one up. The first way to control arbitrary code execution is to set '.github/workflows' as only modifiable by code owners. If a PR comes up with a "customized" workflow, an approval will be required. That's only the first step, but this is pretty well documented: GitHub’s standard pull_request workflow trigger prevents write permissions and secrets access to the target repository by default. Do you want me to take a stab at this or is @m0j0hn still around? |
|
If you could take a stab that would be great! Thank you! |
|
I can't figure out a way to take over this PR. I think I have to clone his repo and do my own PR. Or am I missing something? |
|
@theoldbatosai you’ll need to clone this repo and then pull the branch m0j0hn:FREENET-7179, then you can work directly on the branch and file a new PR from your repo (just mention this PR in your PR so your PR will be found from here). I’ll ping nextgens once you’re ready — he’s the one with the most experience on CI workflow security. |
|
@ArneBab You mentioned in your mailing list post about 1495 that this blocks release. Is that because you want to build the release with GitHub CI instead of locally? |
|
@Thynix this blocks the release of Freenet 0.8, not of 1495. I’m sorry if that was unclear. For the new point release we should have CI in place again so contributors can directly see whether all tests succeed. See the blockers in https://github.com/freenet/wiki/wiki/Roadmap |
|
Is this still needed? |
Summary: Initial Github CI flow
What changed: Add initial Github CI flow
How tested: Github CI