From 5c9cd8e623a47db0fafa760e594f203afab1a259 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Sat, 21 Jan 2023 00:14:56 +0100 Subject: [PATCH] .github/workflows: Limit for PR 211832 https://github.com/NixOS/nixpkgs/pull/211832 broke the workflows for all PR's temporarily because it runs into GitHub API limits. This change to the workflow files just makes sure that the problematic workflows don't run for that specific PR. --- .github/workflows/editorconfig.yml | 2 +- .github/workflows/labels.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml index 081bd6146af197d..1e875f8dc9900c3 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig.yml @@ -11,7 +11,7 @@ on: jobs: tests: runs-on: ubuntu-latest - if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip editorconfig]')" + if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip editorconfig]') && github.event.number != 211832" steps: - name: Get list of changed files from PR env: diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 5f949ddc56b1656..30660362f4707a1 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -16,7 +16,7 @@ permissions: jobs: labels: runs-on: ubuntu-latest - if: github.repository_owner == 'NixOS' + if: github.repository_owner == 'NixOS' && github.event.number != 211832 steps: - uses: actions/labeler@v4 with: