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

Create Citation.cff points to no longer default branch "MASTER" #92

Open
ppanero opened this issue Feb 22, 2022 · 0 comments
Open

Create Citation.cff points to no longer default branch "MASTER" #92

ppanero opened this issue Feb 22, 2022 · 0 comments

Comments

@ppanero
Copy link
Member

ppanero commented Feb 22, 2022

Browser & OS: Chrome96: Windows 10

Describe the bug

A clear and concise description of what the bug is.
New github repositories does not have the MASTER branch, rather MAIN.
The badge for the "Create CITATION.rff" on github repository settings still points to the MASTER-branch, giving a not-found condition

Steps to Reproduce

  1. Visit Settings for github repository without an attached Citation.cff-file ( my case: https://zenodo.org/account/settings/github/repository/bjartelund/PsychOrNot#)
  2. Attempt to create one by pressing the "Create CITATION.cff" badge leads to not found page (404) on GitHub.
    zenodo404-github

I tried skimming through the github page to make a patch, but could not find this code.

Expected behavior

Should lead to the create new file page of github

Additional context

The problem is in the hardcoded master in this line.

Kudos to @bjartelund

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant