From db755f56777ab653cce201ff73421c63ed220067 Mon Sep 17 00:00:00 2001 From: Luke Nelson Date: Mon, 22 Jun 2026 20:39:38 +0100 Subject: [PATCH 1/2] switch to `ubuntu-slim` runners where possible --- .github/workflows/dependency-review.yml | 2 +- .github/workflows/needs-reproduction.yml | 2 +- .github/workflows/possible-bot.yml | 2 +- .github/workflows/reusable-release.yml | 2 +- .github/workflows/triage-comment.yml | 2 +- .github/workflows/triage-edited.yml | 2 +- .github/workflows/triage-opened.yml | 4 ++-- .github/workflows/triage-spam-transfer.yml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index e99a408..630266d 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -13,7 +13,7 @@ permissions: jobs: dependency-review: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: diff --git a/.github/workflows/needs-reproduction.yml b/.github/workflows/needs-reproduction.yml index 5646a9a..1b870ec 100644 --- a/.github/workflows/needs-reproduction.yml +++ b/.github/workflows/needs-reproduction.yml @@ -18,7 +18,7 @@ permissions: jobs: comment: name: Comment on issue - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: | !github.event.issue.pull_request && github.event.issue.body diff --git a/.github/workflows/possible-bot.yml b/.github/workflows/possible-bot.yml index 6362bc6..24c1161 100644 --- a/.github/workflows/possible-bot.yml +++ b/.github/workflows/possible-bot.yml @@ -19,7 +19,7 @@ permissions: jobs: comment: name: Comment on issue or PR - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - name: Post possible bot comment diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml index 2d8a71e..4ef0bde 100644 --- a/.github/workflows/reusable-release.yml +++ b/.github/workflows/reusable-release.yml @@ -32,7 +32,7 @@ jobs: permissions: contents: write actions: write - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 10 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/.github/workflows/triage-comment.yml b/.github/workflows/triage-comment.yml index 82f0fc2..c9fc557 100644 --- a/.github/workflows/triage-comment.yml +++ b/.github/workflows/triage-comment.yml @@ -16,7 +16,7 @@ permissions: jobs: analyze-comment: name: Analyze comment - runs-on: ubuntu-latest + runs-on: ubuntu-slim # Only run for: # - Non-bot comments # - Issues that are either closed OR have 'needs reproduction' label diff --git a/.github/workflows/triage-edited.yml b/.github/workflows/triage-edited.yml index 97ce10e..d4cc204 100644 --- a/.github/workflows/triage-edited.yml +++ b/.github/workflows/triage-edited.yml @@ -16,7 +16,7 @@ permissions: jobs: check-reproduction: name: Check for Reproduction - runs-on: ubuntu-latest + runs-on: ubuntu-slim # Only run for issues with 'needs reproduction' label (not bots, not PRs) if: | github.event.issue.user.type != 'Bot' && diff --git a/.github/workflows/triage-opened.yml b/.github/workflows/triage-opened.yml index 17374f6..33e3110 100644 --- a/.github/workflows/triage-opened.yml +++ b/.github/workflows/triage-opened.yml @@ -41,7 +41,7 @@ permissions: jobs: add-pending-label: name: Add `pending-triage` label - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: | inputs.add-pending-label && github.event.issue.labels.length == 0 && @@ -61,7 +61,7 @@ jobs: llm-triage: name: LLM triage - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: | github.event.issue.user.type != 'Bot' && !github.event.issue.pull_request diff --git a/.github/workflows/triage-spam-transfer.yml b/.github/workflows/triage-spam-transfer.yml index ec532d8..c7a37cb 100644 --- a/.github/workflows/triage-spam-transfer.yml +++ b/.github/workflows/triage-spam-transfer.yml @@ -14,7 +14,7 @@ permissions: jobs: transfer-spam: name: Transfer Spam Issue - runs-on: ubuntu-latest + runs-on: ubuntu-slim # Only run when 'spam' label is added if: github.event.label.name == 'spam' From 7391a1b521567e23337664764a82b73d7c476c82 Mon Sep 17 00:00:00 2001 From: Luke Nelson Date: Mon, 22 Jun 2026 20:40:12 +0100 Subject: [PATCH 2/2] skip entire job instead of step --- .github/workflows/needs-reproduction.yml | 4 ++-- .github/workflows/possible-bot.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/needs-reproduction.yml b/.github/workflows/needs-reproduction.yml index 1b870ec..7859a54 100644 --- a/.github/workflows/needs-reproduction.yml +++ b/.github/workflows/needs-reproduction.yml @@ -21,11 +21,11 @@ jobs: runs-on: ubuntu-slim if: | !github.event.issue.pull_request && - github.event.issue.body + github.event.issue.body && + github.event.label.name == inputs.label steps: - name: Post reproduction comment - if: github.event.label.name == inputs.label uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | diff --git a/.github/workflows/possible-bot.yml b/.github/workflows/possible-bot.yml index 24c1161..1eb6588 100644 --- a/.github/workflows/possible-bot.yml +++ b/.github/workflows/possible-bot.yml @@ -19,11 +19,11 @@ permissions: jobs: comment: name: Comment on issue or PR + if: github.event.label.name == inputs.label runs-on: ubuntu-slim steps: - name: Post possible bot comment - if: github.event.label.name == inputs.label uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: |