|
10 | 10 | issues: write
|
11 | 11 | steps:
|
12 | 12 | - name: Add Open Docker Related Issues Not Labeled Invalid
|
13 |
| - uses: leonsteinhaeuser/project-beta-automations@v2.1.0 |
| 13 | + uses: leonsteinhaeuser/project-beta-automations@v2.2.1 |
14 | 14 | if: ${{ github.event_name == 'issues' && github.event.issue.state == 'open' && startsWith(github.event.repository.name, 'docker-') && ! contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'closed-issue-activity') }}
|
15 | 15 | with:
|
16 | 16 | gh_token: ${{ secrets.CR_PAT }}
|
|
23 | 23 | run: |
|
24 | 24 | echo 'Issue [#${{ github.event.issue.number }}](${{ github.event.issue.html_url }}) is added to [project](https://github.com/orgs/linuxserver/projects/8) column "Issues"' >> $GITHUB_STEP_SUMMARY
|
25 | 25 | - name: Add Open Non-Docker Related Issues Not Labeled Invalid
|
26 |
| - uses: leonsteinhaeuser/project-beta-automations@v2.1.0 |
| 26 | + uses: leonsteinhaeuser/project-beta-automations@v2.2.1 |
27 | 27 | if: ${{ github.event_name == 'issues' && github.event.issue.state == 'open' && ! startsWith(github.event.repository.name, 'docker-') && ! contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'closed-issue-activity') }}
|
28 | 28 | with:
|
29 | 29 | gh_token: ${{ secrets.CR_PAT }}
|
|
36 | 36 | run: |
|
37 | 37 | echo 'Issue [#${{ github.event.issue.number }}](${{ github.event.issue.html_url }}) is added to [project](https://github.com/orgs/linuxserver/projects/8) column "Non-Docker Issues"' >> $GITHUB_STEP_SUMMARY
|
38 | 38 | - name: Add Open Issues Labeled Invalid
|
39 |
| - uses: leonsteinhaeuser/project-beta-automations@v2.1.0 |
| 39 | + uses: leonsteinhaeuser/project-beta-automations@v2.2.1 |
40 | 40 | if: ${{ github.event_name == 'issues' && github.event.issue.state == 'open' && contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'closed-issue-activity') }}
|
41 | 41 | with:
|
42 | 42 | gh_token: ${{ secrets.CR_PAT }}
|
|
49 | 49 | run: |
|
50 | 50 | echo 'Issue [#${{ github.event.issue.number }}](${{ github.event.issue.html_url }}) is added to [project](https://github.com/orgs/linuxserver/projects/8) column "Insufficient Info"' >> $GITHUB_STEP_SUMMARY
|
51 | 51 | - name: Move Closed Issues and PRs to Done
|
52 |
| - uses: leonsteinhaeuser/project-beta-automations@v2.1.0 |
| 52 | + uses: leonsteinhaeuser/project-beta-automations@v2.2.1 |
53 | 53 | if: ${{ github.event.issue.state == 'closed' || github.event.pull_request.state == 'closed' }}
|
54 | 54 | with:
|
55 | 55 | gh_token: ${{ secrets.CR_PAT }}
|
|
62 | 62 | run: |
|
63 | 63 | echo 'Issue or PR [#${{ github.event.issue.number || github.event.pull_request.number }}](${{ github.event.issue.html_url || github.event.pull_request.html_url }}) is added to [project](https://github.com/orgs/linuxserver/projects/8) column "Done"' >> $GITHUB_STEP_SUMMARY
|
64 | 64 | - name: Add Open PRs Without Review Requests
|
65 |
| - uses: leonsteinhaeuser/project-beta-automations@v2.1.0 |
| 65 | + uses: leonsteinhaeuser/project-beta-automations@v2.2.1 |
66 | 66 | if: ${{ (github.event_name == 'pull_request_target' || github.event_name == 'pull_request_review' && github.event.pull_request.head.repo.owner.login == 'linuxserver') && github.event.pull_request.state == 'open' && github.event.pull_request.requested_reviewers[0] == null && github.event.pull_request.requested_teams[0] == null && github.event.review.state != 'approved' && ! contains(github.event.pull_request.labels.*.name, 'closed-pr-activity') }}
|
67 | 67 | with:
|
68 | 68 | gh_token: ${{ secrets.CR_PAT }}
|
|
75 | 75 | run: |
|
76 | 76 | echo 'PR [#${{ github.event.pull_request.number }}](${{ github.event.pull_request.html_url }}) is added to [project](https://github.com/orgs/linuxserver/projects/8) column "PRs"' >> $GITHUB_STEP_SUMMARY
|
77 | 77 | - name: Add Open PRs With Review Requests
|
78 |
| - uses: leonsteinhaeuser/project-beta-automations@v2.1.0 |
| 78 | + uses: leonsteinhaeuser/project-beta-automations@v2.2.1 |
79 | 79 | if: ${{ (github.event_name == 'pull_request_target' || github.event_name == 'pull_request_review' && github.event.pull_request.head.repo.owner.login == 'linuxserver') && github.event.pull_request.state == 'open' && (github.event.pull_request.requested_reviewers[0] != null || github.event.pull_request.requested_teams[0] != null) && github.event.review.state != 'approved' && ! contains(github.event.pull_request.labels.*.name, 'closed-pr-activity') }}
|
80 | 80 | with:
|
81 | 81 | gh_token: ${{ secrets.CR_PAT }}
|
|
88 | 88 | run: |
|
89 | 89 | echo 'PR [#${{ github.event.pull_request.number }}](${{ github.event.pull_request.html_url }}) is added to [project](https://github.com/orgs/linuxserver/projects/8) column "PRs Ready For Team Review"' >> $GITHUB_STEP_SUMMARY
|
90 | 90 | - name: Move Approved PRs
|
91 |
| - uses: leonsteinhaeuser/project-beta-automations@v2.1.0 |
| 91 | + uses: leonsteinhaeuser/project-beta-automations@v2.2.1 |
92 | 92 | if: ${{ (github.event_name == 'pull_request_target' || github.event_name == 'pull_request_review' && github.event.pull_request.head.repo.owner.login == 'linuxserver') && github.event.pull_request.state == 'open' && github.event.review.state == 'approved' && ! contains(github.event.pull_request.labels.*.name, 'closed-pr-activity') }}
|
93 | 93 | with:
|
94 | 94 | gh_token: ${{ secrets.CR_PAT }}
|
|
0 commit comments