Skip to content

Commit f4e8f66

Browse files
chore(ci): keep fork workflow files unchanged for push compatibility
Upstream main workflow updates are picked up at PR merge time; reverting avoids OAuth workflow-scope requirement on fork push. Signed-off-by: divyamagrawal06 <ludicrouslytrue@gmail.com>
1 parent b6b5f20 commit f4e8f66

2 files changed

Lines changed: 9 additions & 12 deletions

File tree

.github/workflows/publish-components.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ on:
2222
- egress
2323
- controller
2424
- task-executor
25-
- image-committer
2625
default: 'execd'
2726
image_tag:
2827
description: 'Docker image tag'
@@ -36,7 +35,6 @@ on:
3635
- 'docker/egress/**'
3736
- 'k8s/controller/**'
3837
- 'k8s/task-executor/**'
39-
- 'k8s/image-committer/**'
4038

4139
jobs:
4240
publish:
@@ -119,8 +117,6 @@ jobs:
119117
cd kubernetes
120118
elif [ "$COMPONENT" == "task-executor" ]; then
121119
cd kubernetes
122-
elif [ "$COMPONENT" == "image-committer" ]; then
123-
cd kubernetes
124120
else
125121
cd sandboxes/$COMPONENT
126122
fi

.github/workflows/publish-js-sdks.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ jobs:
4242
- name: Set up pnpm
4343
uses: pnpm/action-setup@v4
4444
with:
45-
version: 9.15.0
46-
run_install: false
45+
version: latest
46+
47+
- name: Enable corepack
48+
run: corepack enable
4749

4850
- name: Get pnpm store path
4951
id: pnpm-store
50-
working-directory: sdks
51-
run: echo "STORE_PATH=$(pnpm store path)" >> "$GITHUB_OUTPUT"
52+
run: echo "STORE_PATH=$(corepack pnpm store path)" >> "$GITHUB_OUTPUT"
5253

5354
- name: Cache pnpm store
5455
uses: actions/cache@v5
@@ -59,11 +60,11 @@ jobs:
5960

6061
- name: Install workspace dependencies
6162
working-directory: sdks
62-
run: pnpm install --frozen-lockfile
63+
run: corepack pnpm install --frozen-lockfile
6364

6465
- name: Build SDK
6566
working-directory: sdks
66-
run: pnpm --filter ${{ matrix.sdk.packageName }}... --sort run build
67+
run: corepack pnpm --filter ${{ matrix.sdk.packageName }}... --sort run build
6768

6869
- name: Pack SDK
6970
if: startsWith(github.ref, format('refs/tags/js/{0}/v', matrix.sdk.tagPrefix))
@@ -73,7 +74,7 @@ jobs:
7374
set -euo pipefail
7475
PACK_DIR="${GITHUB_WORKSPACE}/dist/npm/${{ matrix.sdk.name }}"
7576
mkdir -p "$PACK_DIR"
76-
pnpm pack --pack-destination "$PACK_DIR"
77+
corepack pnpm pack --pack-destination "$PACK_DIR"
7778
PACKAGE_TARBALL="$(find "$PACK_DIR" -maxdepth 1 -name '*.tgz' -print -quit)"
7879
if [[ -z "$PACKAGE_TARBALL" ]]; then
7980
echo "No package tarball was produced in $PACK_DIR" >&2
@@ -92,4 +93,4 @@ jobs:
9293
env:
9394
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9495
run: |
95-
pnpm publish "${{ steps.pack.outputs.tarball }}" --access public --no-git-checks
96+
corepack pnpm publish "${{ steps.pack.outputs.tarball }}" --access public --no-git-checks

0 commit comments

Comments
 (0)