From c70aeda6d54621bfd0a5266b4393fd1d85bd9c38 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Mon, 21 Oct 2024 07:06:47 -0400 Subject: [PATCH] Hopefully fixes bot comments not choosing minor/patch correctly See https://github.com/orgs/community/discussions/27154#discussioncomment-3254845 --- .github/workflows/new-pr-comments.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/new-pr-comments.yml b/.github/workflows/new-pr-comments.yml index 769b1eb492..fe0e3d7267 100644 --- a/.github/workflows/new-pr-comments.yml +++ b/.github/workflows/new-pr-comments.yml @@ -32,5 +32,5 @@ jobs: if: github.event.pull_request.user.id == 49699333 uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9 with: - message: Set the milestone to the next ${{ (github.head_ref == 'master' && 'patch') || 'minor' }} version, check for supply chain attacks, and then add the `CI Cleared` label to allow CI to run. + message: Set the milestone to the next ${{ (github.event.pull_request.base.ref == 'master' && 'patch') || 'minor' }} version, check for supply chain attacks, and then add the `CI Cleared` label to allow CI to run. github-token: ${{ steps.app-token-generation.outputs.token }}