From 95ea46c32f4d81ea23f2d75b41aa20d5065ccc41 Mon Sep 17 00:00:00 2001 From: CalvinWilkinson Date: Wed, 2 Oct 2024 09:37:05 +0100 Subject: [PATCH] ci: fix issue with sync pr to issue workflow --- .github/workflows/sync-pr-to-issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-pr-to-issue.yml b/.github/workflows/sync-pr-to-issue.yml index 034b3720..a29e2443 100644 --- a/.github/workflows/sync-pr-to-issue.yml +++ b/.github/workflows/sync-pr-to-issue.yml @@ -34,7 +34,7 @@ jobs: !startsWith(github.head_ref, 'renovate/') uses: KinsonDigital/Infrastructure/.github/workflows/initial-manual-sync.yml@v13.6.3 with: - issue-or-pr-number: ${{ github.event.issue.number }} + issue-or-pr-number: ${{ github.event_name == 'issue_comment' && github.event.issue.number || '' }} sync-type: manual requested-by: "validate:${{ github.event.sender.login }}" secrets: