From cd45b2e57098a930bea15b98a99dabf4fb51f27e Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Tue, 24 Dec 2024 15:18:26 -0500 Subject: [PATCH] Tweaking PR list action. --- .gitea/workflows/deployment.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deployment.yml b/.gitea/workflows/deployment.yml index 75f9158f..aabe3bc9 100644 --- a/.gitea/workflows/deployment.yml +++ b/.gitea/workflows/deployment.yml @@ -15,12 +15,15 @@ jobs: uses: actions/checkout@v4 - name: PR list - uses: vicamo/gitea-list-pull-requests@v1.0.1 + uses: actions/github-list-pull-requests@v1.0 id: list-prs + with: + token: ${{ secrets.BOT_GITEA_TOKEN }} + state: open - name: List PRs run: | - echo "PR count: ${{ steps.list-prs.outputs.json }}" + echo "PR count: ${{ steps.list-prs.outputs.pullRequestNumbers }}" - name: Create PR if: steps.list-prs.outputs.pr-count == 0