From 5607c77ee7ac0786daa1866fc1448106a8322cda Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 24 Dec 2024 14:56:51 -0500 Subject: [PATCH] Tweaking PR listing actions. --- .gitea/workflows/deployment.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deployment.yml b/.gitea/workflows/deployment.yml index a36a07ea..1fe00fac 100644 --- a/.gitea/workflows/deployment.yml +++ b/.gitea/workflows/deployment.yml @@ -14,14 +14,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 - - name: PR Check - id: pr-check - uses: vicamo/gitea-list-pull-requests@v1.0.1 - with: - repository: ${{ gitea.repository }} - token: ${{ secrets.BOT_GITEA_TOKEN }} - state: all - - name: PR list uses: magebitcom/list-pr-action@v1.0.0 id: list-prs @@ -32,6 +24,11 @@ jobs: state: open hours_old: 0 + - name: List PRs + run: | + echo "PR count: ${{ steps.list-prs.outputs.count }}" + echo "PR List: ${{ steps.list-prs.outputs.pull_requests_json }}" + - name: Create PR if: steps.list-prs.outputs.pr-count == 0 uses: arifer612/Gitea-PR-action@v1.2.0