Skip to content

Commit 04180f7

Browse files
authored
build: fix gh token and stop npm from starting (#106)
async
1 parent 2228fb1 commit 04180f7

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
id: automerge
6161
uses: pascalgn/[email protected]
6262
env:
63-
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
63+
GITHUB_TOKEN: '${{ secrets.IDEE_GH_TOKEN }}'
6464
MERGE_METHOD: 'squash'
6565
MERGE_RETRIES: '3'
6666
MERGE_RETRY_SLEEP: '30000'

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
name: 'LSP Performance Benchmarks'
4343
tool: 'benchmarkjs'
4444
output-file-path: 'benchmark-output.json'
45-
github-token: ${{ secrets.GITHUB_TOKEN }}
45+
github-token: ${{ secrets.IDEE_GH_TOKEN }}
4646
auto-push: true
4747
alert-threshold: '130%'
4848
comment-on-alert: true
@@ -56,7 +56,7 @@ jobs:
5656
name: 'LSP Performance Benchmarks'
5757
tool: 'benchmarkjs'
5858
output-file-path: 'benchmark-output.json'
59-
github-token: ${{ secrets.GITHUB_TOKEN }}
59+
github-token: ${{ secrets.IDEE_GH_TOKEN }}
6060
auto-push: false
6161
save-data-file: false
6262
alert-threshold: '130%'

.github/workflows/release-extensions.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204
- name: Checkout
205205
uses: actions/checkout@v4
206206
with:
207-
token: ${{ secrets.GITHUB_TOKEN }}
207+
token: ${{ secrets.IDEE_GH_TOKEN }}
208208

209209
- name: Setup Node.js
210210
uses: actions/setup-node@v4
@@ -226,7 +226,8 @@ jobs:
226226
npx tsx .github/scripts/index.ts ext-version-bumper
227227
228228
- name: Validate GitHub authentication
229-
if: inputs.dry-run != 'true' && github.event.inputs.dry-run != 'true'
229+
env:
230+
GITHUB_TOKEN: ${{ secrets.IDEE_GH_TOKEN }}
230231
run: |
231232
# Validate that required tokens are present
232233
if [ -z "$GITHUB_TOKEN" ]; then
@@ -245,7 +246,7 @@ jobs:
245246
- name: Commit version bumps with tags
246247
env:
247248
# Ensure GitHub CLI has proper authentication
248-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
249+
GITHUB_TOKEN: ${{ secrets.IDEE_GH_TOKEN }}
249250
DRY_RUN: ${{ inputs.dry-run || github.event.inputs.dry-run || 'false' }}
250251
run: |
251252
IS_PROMOTION="${{ needs.determine-build-type.outputs.is-promotion }}"
@@ -325,8 +326,6 @@ jobs:
325326
artifact-name: ${{ needs.calculate-artifact-name.outputs.artifact-name }}
326327
dry-run: ${{ inputs.dry-run || github.event.inputs.dry-run || 'false' }}
327328

328-
329-
330329
determine-publish-matrix:
331330
needs: [determine-changes, calculate-artifact-name]
332331
runs-on: ubuntu-latest
@@ -395,7 +394,7 @@ jobs:
395394
- name: Checkout
396395
uses: actions/checkout@v4
397396
with:
398-
token: ${{ secrets.GITHUB_TOKEN }}
397+
token: ${{ secrets.IDEE_GH_TOKEN }}
399398
ref: ${{ inputs.branch || github.ref }}
400399

401400
- name: Download VSIX artifacts
@@ -404,7 +403,7 @@ jobs:
404403
name: ${{ needs.calculate-artifact-name.outputs.artifact-name }}
405404
path: ./vsix-artifacts
406405

407-
- name: Debug - List downloaded artifacts
406+
- name: List downloaded artifacts
408407
run: |
409408
echo "=== DEBUG: Downloaded Artifacts ==="
410409
echo "Artifact name: ${{ needs.calculate-artifact-name.outputs.artifact-name }}"
@@ -478,7 +477,8 @@ jobs:
478477
479478
slack-notify:
480479
name: Slack Notification
481-
needs: [determine-build-type, determine-changes, bump-versions, package, publish]
480+
needs:
481+
[determine-build-type, determine-changes, bump-versions, package, publish]
482482
runs-on: ubuntu-latest
483483
if: always() && needs.publish.result == 'success' && (inputs.dry-run != 'true' && github.event.inputs.dry-run != 'true')
484484
steps:
@@ -584,7 +584,8 @@ jobs:
584584

585585
slack-notify-failure:
586586
name: Slack Failure Notification
587-
needs: [determine-build-type, determine-changes, bump-versions, package, publish]
587+
needs:
588+
[determine-build-type, determine-changes, bump-versions, package, publish]
588589
runs-on: ubuntu-latest
589590
if: always() && needs.publish.result == 'failure' && (inputs.dry-run != 'true' && github.event.inputs.dry-run != 'true')
590591
steps:

.github/workflows/release-npm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Release NPM Packages
22

33
on:
4-
push:
5-
branches: [main]
4+
# push:
5+
# branches: [main]
66
workflow_call:
77
inputs:
88
branch:
@@ -145,7 +145,7 @@ jobs:
145145
cd packages/${{ matrix.package }}
146146
npx semantic-release
147147
env:
148-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148+
GITHUB_TOKEN: ${{ secrets.IDEE_GH_TOKEN }}
149149
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
150150

151151
- name: Dry Run Complete

0 commit comments

Comments
 (0)