mirror of
https://github.com/linuxserver/github-workflows.git
synced 2026-03-02 00:02:48 +08:00
combine steps
This commit is contained in:
parent
d33ba69905
commit
ffd2b5107e
15
.github/workflows/issue-pr-tracker.yml
vendored
15
.github/workflows/issue-pr-tracker.yml
vendored
@ -36,23 +36,14 @@ jobs:
|
||||
project_id: 8
|
||||
resource_node_id: ${{ github.event.issue.node_id }}
|
||||
status_value: 'Insufficient Info'
|
||||
- name: Move Closed Issues to Done
|
||||
- name: Move Closed Issues and PRs to Done
|
||||
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||
if: ${{ github.event.issue.state == 'closed' }}
|
||||
if: ${{ github.event.issue.state == 'closed' || github.event.pull_request.state == 'closed' }}
|
||||
with:
|
||||
gh_token: ${{ secrets.CR_PAT }}
|
||||
organization: linuxserver
|
||||
project_id: 8
|
||||
resource_node_id: ${{ github.event.issue.node_id }}
|
||||
status_value: 'Done'
|
||||
- name: Move Closed PRs to Done
|
||||
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||
if: ${{ github.event.pull_request.state == 'closed' }}
|
||||
with:
|
||||
gh_token: ${{ secrets.CR_PAT }}
|
||||
organization: linuxserver
|
||||
project_id: 8
|
||||
resource_node_id: ${{ github.event.pull_request.node_id }}
|
||||
resource_node_id: ${{ github.event.issue.node_id || github.event.pull_request.node_id }}
|
||||
status_value: 'Done'
|
||||
- name: Add Open PRs Without Review Requests
|
||||
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user