Tweak trigger release cloning

parent 8b761ce4
...@@ -34,9 +34,7 @@ jobs: ...@@ -34,9 +34,7 @@ jobs:
node-version: 18 node-version: 18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - run: git clone https://ijjk:${{ secrets.START_RELEASE_TOKEN }}@github.com/vercel/next.js.git --depth=25 .
with:
fetch-depth: 25
# https://github.com/actions/virtual-environments/issues/1187 # https://github.com/actions/virtual-environments/issues/1187
- name: tune linux network - name: tune linux network
......
...@@ -39,7 +39,7 @@ async function main() { ...@@ -39,7 +39,7 @@ async function main() {
config.set('token', githubToken) config.set('token', githubToken)
await execa( await execa(
`git remote set-url origin https://ijjk:${githubToken}@github.com/vercel/next.js`, `git remote set-url origin https://ijjk:${githubToken}@github.com/vercel/next.js.git`,
{ stdio: 'inherit', shell: true } { stdio: 'inherit', shell: true }
) )
await execa(`git config user.name "JJ Kasper"`, { await execa(`git config user.name "JJ Kasper"`, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment