From a3fd054676facff462d1274cfdc4b58a6155ecb0 Mon Sep 17 00:00:00 2001 From: Faisal Alquaddoomi Date: Wed, 22 May 2024 12:10:09 -0600 Subject: [PATCH] Upgraded peter-evans/create-pull-request from v4 to v6 to fix https://github.com/peter-evans/create-pull-request/issues/2790 --- .github/workflows/ai-revision.yaml | 2 +- .github/workflows/chatgpt-revision.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ai-revision.yaml b/.github/workflows/ai-revision.yaml index 0e955a1..84f1ea4 100644 --- a/.github/workflows/ai-revision.yaml +++ b/.github/workflows/ai-revision.yaml @@ -67,7 +67,7 @@ jobs: # https://github.com/manubot/manubot-ai-editor/blob/main/libs/manubot_ai_editor/env_vars.py run: manubot ai-revision --content-directory content/ - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v6 with: commit-message: 'revise using AI model\n\nUsing the OpenAI model ${{ inputs.model }}' title: 'AI-based revision using ${{ inputs.model }}' diff --git a/.github/workflows/chatgpt-revision.yaml b/.github/workflows/chatgpt-revision.yaml index 5dd767e..862258a 100644 --- a/.github/workflows/chatgpt-revision.yaml +++ b/.github/workflows/chatgpt-revision.yaml @@ -43,7 +43,7 @@ jobs: # https://github.com/greenelab/manubot-ai-editor/blob/main/libs/manubot/ai_editor/env_vars.py run: python ci/run-manuscript-editor.py - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v6 with: commit-message: 'GPT revised manuscript' title: 'GPT (${{ inputs.model }}) used to revise manuscript'