From b31e85886deeb8bbf7dd1a091ce4e5ecad30a3e2 Mon Sep 17 00:00:00 2001 From: Adnan Rashid Hussain Date: Wed, 8 Apr 2026 12:50:59 -0700 Subject: [PATCH 1/2] fix: add explicit permissions to TypeScript SDK test workflow --- .github/workflows/test-sdk-typescript.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-sdk-typescript.yml b/.github/workflows/test-sdk-typescript.yml index 6af11d2..e1d3c64 100644 --- a/.github/workflows/test-sdk-typescript.yml +++ b/.github/workflows/test-sdk-typescript.yml @@ -14,6 +14,10 @@ on: - 'evals/prompts/**' - '.github/workflows/test-sdk-typescript.yml' +permissions: + contents: read + actions: write + jobs: lint: name: 👖 Lint From e10f4cb9624ebbf072390300af000be85c8c5088 Mon Sep 17 00:00:00 2001 From: Adnan Rashid Hussain Date: Wed, 8 Apr 2026 13:37:42 -0700 Subject: [PATCH 2/2] re: feedback --- .github/workflows/test-sdk-typescript.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-sdk-typescript.yml b/.github/workflows/test-sdk-typescript.yml index e1d3c64..f283a7d 100644 --- a/.github/workflows/test-sdk-typescript.yml +++ b/.github/workflows/test-sdk-typescript.yml @@ -16,7 +16,10 @@ on: permissions: contents: read - actions: write + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: lint: @@ -26,9 +29,6 @@ jobs: run: working-directory: sdks/typescript steps: - - name: ⛔ Cancel previous runs - uses: styfle/cancel-workflow-action@0.13.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v6 @@ -52,9 +52,6 @@ jobs: run: working-directory: sdks/typescript steps: - - name: ⛔ Cancel previous runs - uses: styfle/cancel-workflow-action@0.13.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v6 @@ -81,9 +78,6 @@ jobs: matrix: node-version: ['20.19.0', '22', '24'] steps: - - name: ⛔ Cancel previous runs - uses: styfle/cancel-workflow-action@0.13.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v6 @@ -111,9 +105,6 @@ jobs: matrix: node-version: ['20.19.0', '22', '24'] steps: - - name: ⛔ Cancel previous runs - uses: styfle/cancel-workflow-action@0.13.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v6 @@ -147,9 +138,6 @@ jobs: run: working-directory: sdks/typescript steps: - - name: ⛔ Cancel previous runs - uses: styfle/cancel-workflow-action@0.13.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v6