From a73022d56230014f12dacd17d2d8e0eb95bd3b31 Mon Sep 17 00:00:00 2001 From: Thilo Molitor Date: Sat, 4 Jan 2025 17:16:25 +0100 Subject: [PATCH] Let stable pr creation workflow properly trigger our semver test --- .github/workflows/create-stable-pr.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/create-stable-pr.yml b/.github/workflows/create-stable-pr.yml index 3d93a958b..104ccab41 100644 --- a/.github/workflows/create-stable-pr.yml +++ b/.github/workflows/create-stable-pr.yml @@ -104,6 +104,15 @@ jobs: body: `${{ steps.get_commits.outputs.description }}`, }); console.log(`Created pull request #${pullRequest.data.number}`); + //update pr after creation to trigger our pr-semver-title workflow + pullRequest = await github.rest.pulls.update({ + owner, + repo, + pull_number: pullRequest.data.number, + title: `${{ steps.get_commits.outputs.buildVersion }}`, + body: `${{ steps.get_commits.outputs.description }}`, + }); + console.log(`Updated pull request #${pullRequest.data.number}`); } return pullRequest.data.number; - name: Add Label to Pull Request