Skip to content

Commit 752fa8a

Browse files
committed
ci: use RELEASE_TOKEN instead of RELEASE_TOKEN_PRIVATE
The free plan of GitHub doesn't allow using organization secrets in private repositories. After making the modelix.editor repository public we don't need this separate token anymore.
1 parent 9b622cf commit 752fa8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/dry-run-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: npm ci
4040
- name: Dry-run release
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN_PRIVATE }}
42+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
4343
# We need to convince semantic-release to not pick up some
4444
# configuration from the CI environment by removing the variable that
4545
# is used for CI detection.

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
17-
token: ${{ secrets.RELEASE_TOKEN_PRIVATE }}
17+
token: ${{ secrets.RELEASE_TOKEN }}
1818
- uses: actions/setup-node@v4
1919
with:
2020
node-version: '22.2.0 '
@@ -29,5 +29,5 @@ jobs:
2929
run: npm ci
3030
- name: Release
3131
env:
32-
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN_PRIVATE }}
32+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
3333
run: npx semantic-release

0 commit comments

Comments
 (0)