Tweaking PR listing actions.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user