From eac03d5542359283bb6e8db253c7bec3fbceb0ac Mon Sep 17 00:00:00 2001 From: pasta Date: Wed, 4 Nov 2026 17:45:56 +0000 Subject: [PATCH] ci: skip the milestone check outside dashpay/dash Milestones only mean something on dashpay/dash. In forks, pull requests (for example stacked PRs opened against a contributor's own fork) failed "Require a milestone" even though there is nothing to set. Gate the job on the repository so it is skipped there instead. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/check-milestone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-milestone.yml b/.github/workflows/check-milestone.yml index 62c77178619b..c8e1057fd6c6 100644 --- a/.github/workflows/check-milestone.yml +++ b/.github/workflows/check-milestone.yml @@ -16,7 +16,7 @@ permissions: {} jobs: main: name: Require a milestone - if: ${{ !github.event.pull_request.draft }} + if: ${{ github.repository == 'dashpay/dash' && !github.event.pull_request.draft }} runs-on: ${{ vars.DASH_LIGHT_RUNNER || 'ubuntu-latest' }} steps: - name: Check that a milestone is set