diff --git a/.github/workflows/community-label.yml b/.github/workflows/community-label.yml index bac384db43b..3f9a2172dc9 100644 --- a/.github/workflows/community-label.yml +++ b/.github/workflows/community-label.yml @@ -3,6 +3,8 @@ name: Add Community Label on: pull_request_target: types: [opened] + branches: + - '!prod' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -19,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