Skip to content
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

delete master branch, potentially turn into a tag? #386

Open
3 tasks
karlbrown-va opened this issue Dec 22, 2021 · 2 comments
Open
3 tasks

delete master branch, potentially turn into a tag? #386

karlbrown-va opened this issue Dec 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@karlbrown-va
Copy link

karlbrown-va commented Dec 22, 2021

Description:
At this point #171 the master branch was changed to main. However, we still had actions pointing to master, which one would normally assume would link to the latest tip. Since master is now moribund this branch should be deleted, which will likely cause existing actions to break. Or, the branch can be deleted and a new tag can be maintained of 'master' until such time as people have migrated over to using main or v2 etc.

Action version:
v2.5

Platform:

  • Ubuntu
  • [x ] macOS
  • Windows

Runner type:

  • [x ] Hosted
  • Self-hosted

Tools version:
n/a

Repro steps:
create an action linking to setup-node/master. Notice how it pulls in an older version.

Expected behavior:
Master should link to the tip.

Actual behavior:
Master is now a stale branch. So the branch should be deleted or replaced with a continuously updating tag.

@karlbrown-va karlbrown-va added bug Something isn't working needs triage labels Dec 22, 2021
@dmitry-shibanov
Copy link
Contributor

Hello @karlbrown-va. Thank you for your report. The master branch links to v1 tag. The latest major tag points to the main branch. We recommend to use tags, because the latest code of the branches can be carrying breaking changes.

@karlbrown-va
Copy link
Author

karlbrown-va commented Dec 23, 2021 via email

@MaksimZhukov MaksimZhukov self-assigned this Feb 1, 2023
deining pushed a commit to deining/setup-node that referenced this issue Nov 9, 2023
* chore: add additional log notes

* feat: add `fetch` input

Ref actions#386

* fix: add warnings about not fetching

* docs: `fetch` input & large repos FAQ

* chore: fix typo
@MaksimZhukov MaksimZhukov removed their assignment Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants