Skip to content

Commit

Permalink
[Feature:Developer] Stops redundant PRs from being created (#14)
Browse files Browse the repository at this point in the history
Looking to satisfy issue
- Submitty/Submitty#9741  

Previously:
A new PR would be created for every bump.

New Behavior:
Only one PR will stay open and it will be the PR for the most recent
bump.
  • Loading branch information
ANS1514 authored Oct 21, 2023
1 parent c2ce806 commit 8a23d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bump-submitty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ jobs:
token: ${{ secrets.SUBMITTYBOT_DEPENDENCY_TOKEN }}
path: Localization
commit-message: update version and base lang to ${{ github.event.client_payload.ref_name }}
branch: bump-submitty/${{ github.event.client_payload.ref_name }}
branch: bump-submitty
title: "[Dependency] Update Submitty from ${{ steps.version.outputs.prop }} to ${{ github.event.client_payload.ref_name }}"
body: "Bumps [Submitty](https://github.com/${{ github.repository_owner }}/Submitty) from version [${{ steps.version.outputs.prop }}](https://github.com/${{ github.repository_owner }}/Submitty/releases/tag/${{ steps.version.outputs.prop }}) to [${{ github.event.client_payload.ref_name }}](https://github.com/${{ github.repository_owner }}/Submitty/releases/tag/${{ github.event.client_payload.ref_name }})."

0 comments on commit 8a23d06

Please sign in to comment.