Skip to content

Commit bf2206f

Browse files
committed
chore: changes secrets pat to github token
1 parent 44155a3 commit bf2206f

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/release_alpha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
tag: alpha
1616
version-args: --preid alpha prerelease
1717
secrets:
18+
PAT: ${{ secrets.GITHUB_TOKEN }}
1819
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19-
PAT: ${{ secrets.PAT }}

.github/workflows/release_beta.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
branches: beta
44
paths-ignore:
5-
- 'package.json'
5+
- "package.json"
66
workflow_dispatch:
77

88
jobs:
@@ -11,9 +11,9 @@ jobs:
1111
contents: write
1212
uses: reearth/core/.github/workflows/npm_release.yml@beta
1313
with:
14-
branch: beta
15-
tag: beta
16-
version-args: --preid beta prerelease
14+
branch: beta
15+
tag: beta
16+
version-args: --preid beta prerelease
1717
secrets:
18+
PAT: ${{ secrets.GITHUB_TOKEN }}
1819
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19-
PAT: ${{ secrets.PAT }}

.github/workflows/release_latest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
contents: write
1616
uses: reearth/core/.github/workflows/npm_release.yml@beta
1717
with:
18-
branch: main
19-
tag: latest
20-
version-args: ${{ inputs.version-type }}
18+
branch: main
19+
tag: latest
20+
version-args: ${{ inputs.version-type }}
2121
secrets:
22+
PAT: ${{ secrets.GITHUB_TOKEN }}
2223
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23-
PAT: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)