From a5d529161dc59a9a11da1c5dbd9ccb495d8c931a Mon Sep 17 00:00:00 2001 From: Sokratis Vidros Date: Fri, 10 May 2024 12:23:58 +0300 Subject: [PATCH] fix(actions): Pin @oktokit/actions to v6 that works with CJS This is a quick fix to restore the labeler workflows until we port everything to ESM. --- .github/workflows/community-label.yml | 2 +- .github/workflows/issue-label.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/community-label.yml b/.github/workflows/community-label.yml index 383f19e6c00..3f9a2172dc9 100644 --- a/.github/workflows/community-label.yml +++ b/.github/workflows/community-label.yml @@ -21,7 +21,7 @@ jobs: with: node-version: 20.8.1 - name: Install Octokit - run: npm --prefix .github/workflows/scripts install @octokit/action + run: npm --prefix .github/workflows/scripts install @octokit/action@6 - name: Check if user is a community contributor id: check diff --git a/.github/workflows/issue-label.yml b/.github/workflows/issue-label.yml index 9c07d7ed6ee..29a5e8f9356 100644 --- a/.github/workflows/issue-label.yml +++ b/.github/workflows/issue-label.yml @@ -19,7 +19,7 @@ jobs: with: node-version: 20.8.1 - name: Install Octokit - run: npm --prefix .github/workflows/scripts install @octokit/action + run: npm --prefix .github/workflows/scripts install @octokit/action@6 - name: Check if user is a community contributor id: check