From 6fb2e916943d9c3dc2725a75aa2a28f03f380ba4 Mon Sep 17 00:00:00 2001 From: okafke <65917827+okafke@users.noreply.github.com> Date: Tue, 11 Nov 2025 16:07:05 +0100 Subject: [PATCH 1/3] chore(ci): Fix syntax in new mc version workflow --- .github/workflows/new-mc-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/new-mc-version.yml b/.github/workflows/new-mc-version.yml index b4195a2..4904cfd 100644 --- a/.github/workflows/new-mc-version.yml +++ b/.github/workflows/new-mc-version.yml @@ -47,8 +47,8 @@ jobs: with: # TODO: check if this works from the cron job, but it does not work from workflow_dispatch author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' - assignees: okafke - #reviewers: okafke + assignees: [ okafke ] + reviewers: [ okafke ] commit-message: "feat: ${{ env.LATEST_VERSION }}" delete-branch: true token: ${{ secrets.MC_VERSION_WORKFLOW_TOKEN }} From 72da14c63344c99fbeb25dbee70e339c3e205a59 Mon Sep 17 00:00:00 2001 From: okafke <65917827+okafke@users.noreply.github.com> Date: Tue, 11 Nov 2025 17:30:23 +0100 Subject: [PATCH 2/3] chore(ci): use find-comment action to find PR comment --- .github/workflows/lifecycle.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lifecycle.yml b/.github/workflows/lifecycle.yml index 6bf2016..aa86922 100644 --- a/.github/workflows/lifecycle.yml +++ b/.github/workflows/lifecycle.yml @@ -79,11 +79,19 @@ jobs: with: filters: | ${{ steps.paths.outputs.filter }} + + - name: Find PR comment + if: github.event_name == 'pull_request' + uses: peter-evans/find-comment@v1 + id: find-comment + with: + issue-number: ${{ github.event.pull_request.number }} + body-includes: "Automatic commit: build and run " - id: matrices # TODO: build origin matrices dynamically, consider collapsing this into a .py name: Construct matrices env: - PR_COMMENT_BODY: ${{ github.event.comment.body }} + PR_COMMENT_BODY: ${{ steps.find-comment.outputs.comment-body }} run: | import os import json From 8013a0987224fd770caacd6a002b8c98786be690 Mon Sep 17 00:00:00 2001 From: okafke <65917827+okafke@users.noreply.github.com> Date: Tue, 11 Nov 2025 17:37:28 +0100 Subject: [PATCH 3/3] chore(ci): fixed rebase breaking things --- .github/workflows/new-mc-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/new-mc-version.yml b/.github/workflows/new-mc-version.yml index 4904cfd..b4195a2 100644 --- a/.github/workflows/new-mc-version.yml +++ b/.github/workflows/new-mc-version.yml @@ -47,8 +47,8 @@ jobs: with: # TODO: check if this works from the cron job, but it does not work from workflow_dispatch author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' - assignees: [ okafke ] - reviewers: [ okafke ] + assignees: okafke + #reviewers: okafke commit-message: "feat: ${{ env.LATEST_VERSION }}" delete-branch: true token: ${{ secrets.MC_VERSION_WORKFLOW_TOKEN }}