|
13 | 13 | jobs:
|
14 | 14 | Inbox:
|
15 | 15 | runs-on: ubuntu-latest
|
16 |
| - if: github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request == null |
| 16 | + if: github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request == null && !contains(join(github.event.issue.labels.*.name, ', '), 'dependency-upgrade') && !contains(github.event.issue.title, 'Release ') |
17 | 17 | steps:
|
18 | 18 | - name: Create or Update Issue Card
|
19 |
| - uses: peter-evans/create-or-update-project-card@v1.1.2 |
| 19 | + uses: actions/add-to-project@v1.0.2 |
20 | 20 | with:
|
21 |
| - project-name: 'Spring Data' |
22 |
| - column-name: 'Inbox' |
23 |
| - project-location: 'spring-projects' |
24 |
| - token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }} |
| 21 | + project-url: https://github.com/orgs/spring-projects/projects/25 |
| 22 | + github-token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }} |
25 | 23 | Pull-Request:
|
26 | 24 | runs-on: ubuntu-latest
|
27 | 25 | if: github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request != null
|
28 | 26 | steps:
|
29 | 27 | - name: Create or Update Pull Request Card
|
30 |
| - uses: peter-evans/create-or-update-project-card@v1.1.2 |
| 28 | + uses: actions/add-to-project@v1.0.2 |
31 | 29 | with:
|
32 |
| - project-name: 'Spring Data' |
33 |
| - column-name: 'Review pending' |
34 |
| - project-location: 'spring-projects' |
35 |
| - issue-number: ${{ github.event.pull_request.number }} |
36 |
| - token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }} |
| 30 | + project-url: https://github.com/orgs/spring-projects/projects/25 |
| 31 | + github-token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }} |
37 | 32 | Feedback-Provided:
|
38 | 33 | runs-on: ubuntu-latest
|
39 | 34 | if: github.repository_owner == 'spring-projects' && github.event_name == 'issue_comment' && github.event.action == 'created' && github.actor != 'spring-projects-issues' && github.event.pull_request == null && github.event.issue.state == 'open' && contains(toJSON(github.event.issue.labels), 'waiting-for-feedback')
|
40 | 35 | steps:
|
41 | 36 | - name: Update Project Card
|
42 |
| - uses: peter-evans/create-or-update-project-card@v1.1.2 |
| 37 | + uses: actions/add-to-project@v1.0.2 |
43 | 38 | with:
|
44 |
| - project-name: 'Spring Data' |
45 |
| - column-name: 'Feedback provided' |
46 |
| - project-location: 'spring-projects' |
47 |
| - token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }} |
| 39 | + project-url: https://github.com/orgs/spring-projects/projects/25 |
| 40 | + github-token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }} |
0 commit comments