Skip to content

Commit

Permalink
Upgraded peter-evans/create-pull-request from v4 to v6 to fix peter-e…
Browse files Browse the repository at this point in the history
  • Loading branch information
falquaddoomi committed May 22, 2024
1 parent cea3dfd commit a3fd054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ai-revision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chatgpt-revision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a3fd054

Please sign in to comment.