mirror of
https://github.com/Paillat-dev/discord-emojis.git
synced 2026-01-02 00:56:19 +00:00
Fix incorrect base branch
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -85,7 +85,7 @@ jobs:
|
|||||||
EXISTING_PR=$(gh pr list --search "is:open label:emojis" --json headRefName,number,author -q '.[0]')
|
EXISTING_PR=$(gh pr list --search "is:open label:emojis" --json headRefName,number,author -q '.[0]')
|
||||||
if [ -z "$EXISTING_PR" ]; then
|
if [ -z "$EXISTING_PR" ]; then
|
||||||
echo "No existing PR found, creating a new one."
|
echo "No existing PR found, creating a new one."
|
||||||
gh pr create --base main --head ${{ env.branch_name }} --title "Emojis Auto Update" --body "This PR was created automatically by the Emojis Auto Update workflow." --label emojis
|
gh pr create --base master --head ${{ env.branch_name }} --title "Emojis Auto Update" --body "This PR was created automatically by the Emojis Auto Update workflow." --label emojis
|
||||||
else
|
else
|
||||||
echo "An existing PR was found: $EXISTING_PR"
|
echo "An existing PR was found: $EXISTING_PR"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user