Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
cbb6dda6
Unverified
Commit
cbb6dda6
authored
Mar 24, 2023
by
JJ Kasper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak trigger release cloning
parent
8b761ce4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
trigger_release.yml
.github/workflows/trigger_release.yml
+1
-3
start-release.js
scripts/start-release.js
+1
-1
No files found.
.github/workflows/trigger_release.yml
View file @
cbb6dda6
...
@@ -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
...
...
scripts/start-release.js
View file @
cbb6dda6
...
@@ -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"`
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment