Comments (7)
closing with #40.
https://github.com/hayd/deno-udd#scheduled-github-action
from deno-udd.
If you re-run when other PR is opened it will just create a new one.
About, $(find . -name ".ts")
, it is useful, so it can be an option, but I don't think it should be the default entry point.
What should I use instead of 0 0
then?
Thanks!
from deno-udd.
What should I use instead of 0 0 then?
Hmm, I can't actually find the reference, I was sure GitHub had mentioned this in their initial annoucement of scheduled actions - perhaps it's no longer the case. The idea was that everyone shouldn't schedule their actions at the same time (which 0 0 is the obvious example), so as not to pressure GitHub and whatever services you are calling (in this case the deno cdns), it's better to spread the load across the day.
If you re-run when other PR is opened it will just create a new one.
In the action-behaviour it doesn't actually include this case, but in the concepts diagram it suggests changes can be "force pushed to update" the branch - this makes sense in the case your explicitly name the branch.
I guess there's another interesting question here: if the tests fail what is the desired behaviour.
- silently doesn't update (I am guessing this is what happens atm, although Github may notify you of failed CI runs)
- create PR but it fails CI (provided you also have CI!) and requires human fixing (e.g. over breaking API changes).
I suspect 2. is preferable, which is to say, it's tempting to drop the --test
.
Thanks again for this yml.
from deno-udd.
Hmm, I can't actually find the reference, I was sure GitHub had mentioned this in their initial annoucement of scheduled actions - perhaps it's no longer the case. The idea was that everyone shouldn't schedule their actions at the same time (which 0 0 is the obvious example), so as not to pressure GitHub and whatever services you are calling (in this case the deno cdns), it's better to spread the load across the day.
It makes sense, in this case the time it happens is not very important so I could change it.
In the action-behaviour it doesn't actually include this case, but in the concepts diagram it suggests changes can be "force pushed to update" the branch - this makes sense in the case your explicitly name the branch.
I think this would be the best.
I suspect 2. is preferable, which is to say, it's tempting to drop the
--test
.
I'm not sure about this, I prefer to have the ci and udd separated.
The CI runs every time I push changes, I need it to finish as quickly as possible, to see if all my changes are correct and continue with new features.
Whereas UDD I prefer that I run only once a day, preferably while I am not developing.
It seems to me that the best thing would be for --test
to remain and that if the PR fails, that a new pull request will still be opened and then I or some other contributor will fix everything in the same PR.
from deno-udd.
I think we're not quite following each other/getting wires crossed RE the --test
thing, hopefully code explains:
I updated to https://github.com/hayd/deno-udd/blob/ab0112ff1c756e8c812e0e67dace39cb52fbc00e/.github/workflows/udd.yml
#39 is working PR example, if we leave open a week then we should see it work over a new std release (but I am already convinced that it is working). Once that's merged I'll include mention of this (and your contribution) in the README. Thanks again!
from deno-udd.
I think we're not quite following each other/getting wires crossed RE the
--test
thing, hopefully code explains:I updated to https://github.com/hayd/deno-udd/blob/ab0112ff1c756e8c812e0e67dace39cb52fbc00e/.github/workflows/udd.yml
I understand you now.
Once that's merged I'll include mention of this (and your contribution) in the README. Thanks again!
Thanks!
from deno-udd.
Nice
from deno-udd.
Related Issues (20)
- Incorrectly upgrade the version number to "undefined" HOT 4
- Mistakenly downgrade the deno standard library from 0.189.0 to 0.177.1? Why not compare the size of the version number? HOT 1
- Add tests for url parse failures
- Wildcards not working HOT 1
- Extra suffix slash HOT 3
- deno 1.18.0: a config file in cwd can cause udd to error HOT 5
- support import_maps.json HOT 4
- Use recent deno-version in ci ( .github/ )
- Add support for pax.deno.dev URLs
- Crashes on URLs in docs HOT 9
- Disable React next versions HOT 2
- CI error: error: TS2322 [ERROR]: Type 'unknown' is not assignable to type 'string'.
- Fix esm.sh urls HOT 1
- can it ignore urls in comments? HOT 1
- Add --exclude or --ignore flag HOT 1
- Weird suffix when using import_map.json HOT 4
- Support for `npm:` imports
- Why does `--dry-run` require `--allow-write` HOT 2
- [bug/feat] deno.lock support HOT 2
- Not working correctly with `npm` specifier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno-udd.