Taking out merge pause.

This commit is contained in:
2025-01-14 10:51:52 -05:00
parent 7e31e2363f
commit 7a4ab12b9a
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
tea pr ls --repo ${{ github.repository }} --state open --fields index,title,head,state
pr_state=$(tea pr ls --repo ${{ github.repository }} --state open --fields index,title,head,state --output csv | egrep ${{ gitea.ref_name }} | awk -F, '{print $4}' | sed -e 's|"||g')
echo "PR state: ${pr_state}"
if [ "${pr_state}" != 'open' ]; then
if [ -z "${pr_state}" ]; then
echo "PR does not exist, creating..."
tea pr c -r "${{ github.repository }}" -t "Automated PR for ${{ github.ref_name }}" -d "Automated PR for ${{ github.ref_name }}"
elif [ "${pr_state}" = 'open' ]; then