From 5d23700924e760f05a46e3d6700b8653e7a61df8 Mon Sep 17 00:00:00 2001 From: Susan Shi Date: Tue, 2 Apr 2024 20:49:47 +1100 Subject: [PATCH] get msg --- .github/workflows/pr-to-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-to-main.yml b/.github/workflows/pr-to-main.yml index c52d8c507..2ece11e7f 100644 --- a/.github/workflows/pr-to-main.yml +++ b/.github/workflows/pr-to-main.yml @@ -29,5 +29,5 @@ jobs: with: github_token: ${{ secrets.PR_TOKEN }} destination_branch: main - pr_title: "${{ github.event.commits[0].message }} into main" + pr_title: "${{ github.event.commits[][message] }} into main" pr_body: "Automated Pull Request" \ No newline at end of file