mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: ignore creating a pr if one exists
This commit is contained in:
parent
43690223c5
commit
425a4d7c18
1 changed files with 2 additions and 3 deletions
5
.github/workflows/update-submodules.yml
vendored
5
.github/workflows/update-submodules.yml
vendored
|
|
@ -47,8 +47,7 @@ jobs:
|
|||
prNumber=$(gh pr list --base ${{ matrix.branches }} --head csupdate-${{ matrix.branches }} --state open --json number --template "{{range .}}{{.number}}{{end}}")
|
||||
if [ -z "$prNumber" ]; then
|
||||
echo "No PR found, creating one"
|
||||
gh pr create --head csupdate-${{ matrix.branches }} --title "[${{ matrix.branches }}] Update ClientStructs" --body "" --base ${{ matrix.branches }}
|
||||
else
|
||||
echo "PR already exists, closing it"
|
||||
gh pr close $prNumber
|
||||
echo "PR already exists, ignoring"
|
||||
fi
|
||||
gh pr create --head csupdate-${{ matrix.branches }} --title "[${{ matrix.branches }}] Update ClientStructs" --body "" --base ${{ matrix.branches }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue