Skip to content

Commit fcce998

Browse files
committed
fix checkout github action [no ci]
1 parent f116d5c commit fcce998

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
on:
55
push:
66
branches:
7-
- 'main'
7+
- "main"
88
pull_request:
99

1010
jobs:
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout Repository
1616
uses: actions/checkout@v5
17+
with:
18+
token: ${{ github.token }}
1719

1820
- uses: ./.github/actions/setup-node
1921
name: Setup Env
@@ -36,6 +38,8 @@ jobs:
3638
steps:
3739
- name: Checkout Repository
3840
uses: actions/checkout@v5
41+
with:
42+
token: ${{ github.token }}
3943

4044
- uses: ./.github/actions/setup-node
4145
name: Setup Env
@@ -66,6 +70,8 @@ jobs:
6670
steps:
6771
- name: Checkout Repository
6872
uses: actions/checkout@v5
73+
with:
74+
token: ${{ github.token }}
6975

7076
- uses: ./.github/actions/setup-node
7177
name: Setup Env
@@ -94,6 +100,8 @@ jobs:
94100
steps:
95101
- name: Checkout Repository
96102
uses: actions/checkout@v5
103+
with:
104+
token: ${{ github.token }}
97105

98106
- uses: ./.github/actions/setup-node
99107
name: Setup Env

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
permissions: write-all
88

99
env:
10-
RELEASE_COMMIT_MSG: 'chore(release): update monorepo packages versions'
10+
RELEASE_COMMIT_MSG: "chore(release): update monorepo packages versions"
1111

1212
jobs:
1313
stable:
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v5
1919
with:
2020
fetch-depth: 0
21-
token: ${{ secrets.GITHUB_TOKEN }}
21+
token: ${{ github.token }}
2222
- name: Setup environment
2323
uses: ./.github/actions/setup-node
2424
with:

.github/workflows/shared-changesets-dependencies.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ on:
1818
type: string
1919
description: Package manager version
2020
required: false
21-
default: ''
21+
default: ""
2222
nodeVersion:
2323
required: false
2424
type: string
25-
default: '20'
25+
default: "20"
2626
gitUserEmail:
2727
required: false
2828
type: string
29-
default: ''
29+
default: ""
3030
gitUserName:
3131
required: false
3232
type: string
33-
default: ''
33+
default: ""
3434
secrets:
3535
githubToken:
3636
required: true
@@ -48,7 +48,7 @@ jobs:
4848
uses: actions/checkout@v5
4949
with:
5050
fetch-depth: 0
51-
token: ${{ secrets.githubToken }}
51+
token: ${{ github.token }}
5252

5353
- name: Import bot's GPG key for signing commits
5454
id: import-gpg

.github/workflows/shared-release-snapshot.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ on:
1212
description: Package manager version
1313
type: string
1414
required: false
15-
default: ''
15+
default: ""
1616
nodeVersion:
1717
required: false
1818
type: string
19-
default: '20'
19+
default: "20"
2020
buildScript:
2121
required: false
2222
type: string
@@ -59,6 +59,7 @@ jobs:
5959
- name: checkout
6060
uses: actions/checkout@v5
6161
with:
62+
token: ${{ github.token }}
6263
fetch-depth: 0
6364
ref: ${{ github.event.pull_request.head.sha }}
6465

@@ -82,7 +83,7 @@ jobs:
8283
uses: pinax-network/[email protected]
8384
with:
8485
tag: ${{ inputs.npmTag }}
85-
prepareScript: '${{inputs.packageManager}} run ${{ inputs.buildScript }}'
86+
prepareScript: "${{inputs.packageManager}} run ${{ inputs.buildScript }}"
8687
env:
8788
NPM_TOKEN: ${{ secrets.npmToken }}
8889
GITHUB_TOKEN: ${{ secrets.githubToken }}

0 commit comments

Comments
 (0)