Minor fixes.
This commit is contained in:
+3
-2
@@ -38,6 +38,7 @@ runs:
|
|||||||
else
|
else
|
||||||
echo "WARNING ⛔: Tea v${{ inputs.tea-version }} Checksum Failed"
|
echo "WARNING ⛔: Tea v${{ inputs.tea-version }} Checksum Failed"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
- name: Login to Gitea
|
- name: Login to Gitea
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
@@ -61,13 +62,13 @@ runs:
|
|||||||
|
|
||||||
echo "exists=$pr_exists" >> $GITHUB_OUTPUT
|
echo "exists=$pr_exists" >> $GITHUB_OUTPUT
|
||||||
- name: Skip PR Creation
|
- name: Skip PR Creation
|
||||||
if: steps.check-opened-pr-step.outputs.exists == '0'
|
if: steps.check-opened-pr-step.outputs.exists == '1'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo -e "✅ A PR already exists for ${{ gitea.ref_name }}\nSkipping PR creation..."\
|
echo -e "✅ A PR already exists for ${{ gitea.ref_name }}\nSkipping PR creation..."\
|
||||||
- name: PR Creation
|
- name: PR Creation
|
||||||
shell: bash
|
shell: bash
|
||||||
if: steps.check-opened-pr-step.outputs.exists == '1'
|
if: steps.check-opened-pr-step.outputs.exists == '0'
|
||||||
run: |
|
run: |
|
||||||
PR_TITLE=$(git log -n 1 --format=%s)
|
PR_TITLE=$(git log -n 1 --format=%s)
|
||||||
PR_DESCRIP=$(git log -n 1 --format=%b)
|
PR_DESCRIP=$(git log -n 1 --format=%b)
|
||||||
|
|||||||
Reference in New Issue
Block a user