Tweaking PR listing actions.

This commit is contained in:
2024-12-24 14:56:51 -05:00
parent 230a252227
commit 5607c77ee7
+5 -8
View File
@@ -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