Skip to content

Set main as the default branch#527

Merged
thboop merged 3 commits intomainfrom
thboop/updateMainBranchToMain
Jul 21, 2020
Merged

Set main as the default branch#527
thboop merged 3 commits intomainfrom
thboop/updateMainBranchToMain

Conversation

@thboop
Copy link
Copy Markdown
Collaborator

@thboop thboop commented Jul 20, 2020

Resolves: #514

Comment thread docs/action-types.md Outdated
runs-on: ${{matrix.os}}
actions:
- uses: actions/setup-node@master
- uses: actions/setup-node@main
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be better to pin to v1 or v2

Comment thread packages/tool-cache/src/tool-cache.ts Outdated
repo: string,
auth?: string,
branch = 'master'
branch = 'main'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check w/ @bryanmacfarlane

Copy link
Copy Markdown
Collaborator Author

@thboop thboop Jul 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to pull this change out and address it in another issue. We should probably default to the default branch of a repo, or force a user to specify, but I don't want to make breaking changes here right now.
#529

@thboop thboop merged commit ccad190 into main Jul 21, 2020
@thboop thboop deleted the thboop/updateMainBranchToMain branch July 21, 2020 15:33
smorimoto pushed a commit to smorimoto/toolkit that referenced this pull request Jul 29, 2020
* set main as the default branch

* revert change to tool-cache default branch

* use versions where applicable
at-wat pushed a commit to at-wat/actions-toolkit that referenced this pull request Aug 31, 2023
* set main as the default branch

* revert change to tool-cache default branch

* use versions where applicable
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

Successfully merging this pull request may close these issues.

Rename default branch

2 participants