generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- validate/* | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b26dcd5
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.
While the intentions are good this effectively broke everyone's GitHub Actions workflows that used
dotnet/nbgv@master
already. FYI @AArnottNot sure if there's anything that can be done to rectify it. We already updated our scripts. Maybe create a
master
branch and print a warning there that it's no longer being updated?b26dcd5
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.
...and yeah, I know I should fix the version to a specific one but not everyone does that (and there are often reasons for that): https://cs.github.com/?scopeName=All+repos&scope=&q=dotnet%2Fnbgv%40master
b26dcd5
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.
Shoot. I fully expected GitHub to forward all calls from
master
tomain
during the branch rename as it does for most other purposes. That's irritating.b26dcd5
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 brought
master
back as the default branch. No sense breaking so many people. I've leftmain
there as well so I don't break you (@filipnavara) a second time, but I advise you to switch back tomaster
to get updates. I'll probably deletemain
soon, or post that notice you suggested.I'm divided on which branch to keep, but I suspect most people are still on
master
, and I see no reason to shake that given github doesn't just keep them working.b26dcd5
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 for the quick update!
b26dcd5
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.
Note that it would likely be possible to rename to
main
but keepmaster
as a tag that's updated by GitHub Actions.b26dcd5
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.
That's interesting. Any sample you could point me to?
Note I don't believe in moving tags (git wasn't designed for that and has no support for updating existing tags), so it would have to be able to keep another branch current.
b26dcd5
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 was thinking about something like this: https://github.com/filipnavara/mainmaster
Poor man's solution :)
b26dcd5
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.
That's surprisingly simple. Thanks. Not sure I'll do that, but I'll stew on it.