mirror of
https://github.com/actions/checkout.git
synced 2025-04-22 16:06:35 +02:00
update default branch (#305)
This commit is contained in:
parent
61b9e3751b
commit
1433f62caa
8 changed files with 10 additions and 10 deletions
|
@ -764,7 +764,7 @@ async function setup(testName: string): Promise<void> {
|
|||
submodules: false,
|
||||
nestedSubmodules: false,
|
||||
persistCredentials: true,
|
||||
ref: 'refs/heads/master',
|
||||
ref: 'refs/heads/main',
|
||||
repositoryName: 'my-repo',
|
||||
repositoryOwner: 'my-org',
|
||||
repositoryPath: '',
|
||||
|
|
|
@ -20,5 +20,5 @@ else
|
|||
|
||||
# Verify auth token
|
||||
cd basic
|
||||
git fetch --no-tags --depth=1 origin +refs/heads/master:refs/remotes/origin/master
|
||||
git fetch --no-tags --depth=1 origin +refs/heads/main:refs/remotes/origin/main
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue