From ab97996856977662f0199ba53af2b0eefa513553 Mon Sep 17 00:00:00 2001 From: Merit Date: Wed, 28 Aug 2024 17:33:53 -0700 Subject: [PATCH] WIP Signed-off-by: Merit --- .github/workflows/cl-create.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cl-create.yml b/.github/workflows/cl-create.yml index 6ea399ac..c12c064e 100644 --- a/.github/workflows/cl-create.yml +++ b/.github/workflows/cl-create.yml @@ -74,18 +74,17 @@ jobs: commit_message: "Updating the changelog for ${{ env.RELEASE_TAG }}" - name: Create pull request - id: create_pr - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ steps.changelog_token.outputs.token }} - commit-message: "Open PR for changelog update" - branch: changelog/${{ env.RELEASE_TAG }} - base: main - title: "Changelog update changelog/${{ env.RELEASE_TAG }}" - reviewers: ${{ secrets.REVIEWER }} - body: | - @coderabbitai: ignore + run: | + gh pr create \ + --repo ${{ env.DESTINATION_REPO }} \ + --base main \ + --head changelog/${{ env.RELEASE_TAG }} \ + --title: "Changelog update changelog/${{ env.RELEASE_TAG }}" \ + --reviewer ${{ secrets.REVIEWER }} \ + --body "@coderabbitai: ignore This pull request has been automatically created to update the changelog. - + Edit the YYMMDD.mdx file with any updates. - Committing your changes will trigger the update changelog workflow, which will pull your updates into the main changelog files. \ No newline at end of file + Committing your changes will trigger the update changelog workflow, which will pull your updates into the main changelog files." + env: + GH_TOKEN: ${{ steps.changelog_token.outputs.token }} \ No newline at end of file