Parametrize master branch to $default-branch #241
-
Thank you for making this wonderful monitoring tool! It would be great if the default branch wouldn't need to be hard-coded to That way if someone were to choose the I don't know if this is possible though, because it seems the actions get released with that default branch name hard-coded, and I didn't find a way to set the current Maybe someone else has got a solution to this idea? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've just pushed a fix for this. We now use |
Beta Was this translation helpful? Give feedback.
I've just pushed a fix for this. We now use
HEAD
instead ofmaster
, meaning that it will use the default branch. For example, https://github.com/upptime/upptime/commits/HEAD/history/google.yml redirects to https://github.com/upptime/upptime/commits/master/history/google.yml.