Skip to content

Commit 73d599d

Browse files
committed
Cleanup CI
1 parent 516c7e2 commit 73d599d

File tree

12 files changed

+60
-51
lines changed

12 files changed

+60
-51
lines changed

.github/workflows/assign_project.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
name: "assign project"
1+
name: "assign_project"
22

33
on:
44
issues:
55
types:
66
- opened
77

88
jobs:
9-
assign-project:
9+
main:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: alex-page/[email protected]
13+
continue-on-error: true
1314
with:
1415
repo-token: "${{ secrets.REPO_MANAGEMENT }}"
1516
project: "kanban board"

.github/workflows/set_dashboard_columns.yml renamed to .github/workflows/assign_project_columns.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
name: "set dashboard columns"
1+
name: "assign_project_columns"
22

33
on:
44
issues:
5-
types: [labeled]
5+
types:
6+
- labeled
67

78
jobs:
89
main:
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: konradpabjan/[email protected]
13+
continue-on-error: true
1214
with:
1315
action-token: "${{ secrets.REPO_MANAGEMENT }}"
1416
project-url: "https://github.com/roc-streaming/roc-toolkit/projects/2"

.github/workflows/build.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,8 @@ name: "build"
22

33
on:
44
push:
5-
branches:
6-
- master
7-
- develop
8-
- feature/*
9-
tags:
10-
- v*
11-
125
pull_request:
13-
branches:
14-
- master
15-
- develop
16-
176
workflow_dispatch:
18-
197
schedule:
208
- cron: '0 0 * * 1'
219

@@ -124,13 +112,13 @@ jobs:
124112
matrix:
125113
include:
126114
- script: linux-checks/conditional-build
127-
image: rocstreaming/env-ubuntu-minimal
115+
image: rocstreaming/env-ubuntu:nolibs
128116

129117
- script: linux-checks/static-shared
130-
image: rocstreaming/env-ubuntu-minimal
118+
image: rocstreaming/env-ubuntu:nolibs
131119

132120
- script: linux-checks/debug-build
133-
image: rocstreaming/env-ubuntu-minimal
121+
image: rocstreaming/env-ubuntu:nolibs
134122

135123
- script: linux-checks/sanitizers
136124
image: rocstreaming/env-ubuntu
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
name: "detect conflicts"
1+
name: "detect_conflicts"
22

33
on:
44
push:
55
branches:
66
- "*"
77
tags:
88
- "!*"
9-
pull_request:
10-
types: synchronize
9+
pull_request_target:
10+
types:
11+
- synchronize
1112

1213
jobs:
1314
main:
1415
runs-on: ubuntu-latest
1516
steps:
16-
- name: Run the action to detect unmergeable PRs
17-
uses: cats-oss/[email protected]
18-
env:
19-
LABEL_NEED_REBASE: "needs rebase"
20-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
17+
- uses: eps1lon/[email protected]
18+
with:
19+
dirtyLabel: "needs rebase"
20+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
21+
commentOnDirty: ":robot: The latest upstream change made this pull request unmergeable.
22+
Please resolve the merge conflicts."
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: "remove labels"
1+
name: "pr_closed"
22

33
on:
44
pull_request:
55
types:
66
- closed
77

88
jobs:
9-
remove-labels:
9+
main:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: andymckay/labeler@master
12+
- uses: andymckay/labeler@1.0.4
1313
with:
14-
remove-labels: 'work in progress,ready for review,review in progress,needs revision'
14+
remove-labels: 'work in progress,ready for review,review in progress,needs revision,needs rebase'

.github/workflows/lint_pr.yml renamed to .github/workflows/pr_opened.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
name: "lint pr"
1+
name: "pr_opened"
22

33
on:
44
pull_request_target:
55
types:
66
- opened
77

88
jobs:
9-
10-
lint:
9+
main:
1110
runs-on: ubuntu-latest
1211
steps:
13-
1412
- name: Check linked issue
1513
id: linked-issues
1614
uses: nearform-actions/[email protected]
@@ -43,7 +41,7 @@ jobs:
4341
steps.mentioned-issues.outputs.result == 'false'
4442
uses: thollander/actions-comment-pull-request@v2
4543
with:
46-
message: "Upon creation, pull request description does not have a link to an issue.
44+
message: ":robot: Upon creation, pull request description does not have a link to an issue.
4745
If there is a related issue, please add it to the description
4846
using any of the [supported formats](https://docs.github.com/en/get-started/\
4947
writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls)."

.github/workflows/pr_ready.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "pr_ready"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- review_requested
7+
8+
jobs:
9+
main:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: andymckay/[email protected]
13+
with:
14+
add-labels: 'ready for review'
15+
remove-labels: 'work in progress,needs revision'

.github/workflows/pr_wip.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "pr_wip"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- converted_to_draft
7+
- review_request_removed
8+
9+
jobs:
10+
main:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: andymckay/[email protected]
14+
with:
15+
add-labels: 'work in progress'
16+
remove-labels: 'ready for review,needs revision'

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
tags:
66
- v*
7-
87
workflow_dispatch:
98

109
jobs:

.github/workflows/triggers.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ on:
66
- master
77

88
jobs:
9-
10-
triggers:
9+
main:
1110
if: |
1211
github.repository_owner == 'roc-streaming'
1312

0 commit comments

Comments
 (0)