From b4a13904101b9c66c5eed477fc2f4f9a0475a8b7 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sun, 31 Aug 2025 08:05:52 -0400 Subject: [PATCH] Workflow debug --- .gitea/workflows/gitea_tar-valon_ansible_deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/gitea_tar-valon_ansible_deploy.yml b/.gitea/workflows/gitea_tar-valon_ansible_deploy.yml index ae3d40a..7bc232c 100644 --- a/.gitea/workflows/gitea_tar-valon_ansible_deploy.yml +++ b/.gitea/workflows/gitea_tar-valon_ansible_deploy.yml @@ -48,7 +48,9 @@ jobs: tea login add --name gitea-rinoa --url "${{ secrets.TV_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }} tea pr list --repo ${{ github.repository }} --state all tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep '\[ANSIBLE\].*${{ github.ref_name }}' + echo "Checking for PR..." pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep '\[ANSIBLE\].*${{ github.ref_name }}' | tail -1 | wc -l) + echo "End of check" echo "exists=$pr_exists" >> $GITHUB_OUTPUT - name: Create PR