Skip to content

Commit a7dcf00

Browse files
mp911demipo256
authored andcommitted
Update GitHub Actions.
See spring-projects#3098
1 parent 56d2fd9 commit a7dcf00

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

Diff for: .github/workflows/project.yml

+10-17
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,28 @@ on:
1313
jobs:
1414
Inbox:
1515
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 ')
1717
steps:
1818
- 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
2020
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 }}
2523
Pull-Request:
2624
runs-on: ubuntu-latest
2725
if: github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request != null
2826
steps:
2927
- 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
3129
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 }}
3732
Feedback-Provided:
3833
runs-on: ubuntu-latest
3934
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')
4035
steps:
4136
- 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
4338
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

Comments
 (0)