From 9a6b6846c23de9e548868bbdee86b8d1c09493d5 Mon Sep 17 00:00:00 2001 From: mananuf Date: Tue, 11 Aug 2026 07:49:10 +0100 Subject: [PATCH] ci: fix invalid YAML in pr-issue-check workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The check-issue job was disabled with 'if: false', but only the first line of the original condition was commented out — the remaining condition lines sat as dangling scalars under the job mapping, so the workflow failed to parse (Invalid workflow file, line 19). Comment out the whole preserved condition block; the job stays disabled and the YAML is valid. --- .github/workflows/pr-issue-check.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-issue-check.yml b/.github/workflows/pr-issue-check.yml index a6953030..cb1cdad0 100644 --- a/.github/workflows/pr-issue-check.yml +++ b/.github/workflows/pr-issue-check.yml @@ -19,12 +19,12 @@ jobs: check-issue: if: false # original condition: >- - github.event_name == 'pull_request' || - ( - github.event_name == 'issue_comment' && - github.event.issue.pull_request && - contains(github.event.comment.body, '/recheck-issue-link') - ) + # github.event_name == 'pull_request' || + # ( + # github.event_name == 'issue_comment' && + # github.event.issue.pull_request && + # contains(github.event.comment.body, '/recheck-issue-link') + # ) runs-on: ubuntu-latest steps: - name: Check for linked issue