Skip to content

Commit 44aed55

Browse files
committed
Clean up, and group workflow names
1 parent b4c5685 commit 44aed55

12 files changed

Lines changed: 60 additions & 63 deletions

.github/workflows/check-icla.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check ICLA
1+
name: Check » ICLA
22
on:
33
pull_request_target:
44
types:

.github/workflows/check-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow runs on any change made to a pull-request and aims to verify
22
# that the correct label is present.
33

4-
name: Check proper label usage
4+
name: Check » Proper label usage
55

66
on:
77
pull_request_target:

.github/workflows/check-merge-conflict.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Merge conflict check
1+
name: Check » Merge conflicts
22
on:
33
push:
44
pull_request_target:
@@ -18,4 +18,4 @@ jobs:
1818
commentOnDirty: |
1919
This pull request has conflicts ☹
2020
Please resolve those so we can review the pull request.
21-
Thanks.
21+
Thanks.

.github/workflows/create-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1+
name: Release » Create release tag
2+
13
on:
24
workflow_dispatch:
35

4-
name: Create release tag
5-
66
jobs:
77
build:
88
name: Create release tag
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: checkout code
11+
- name: Checkout sources
1212
uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515

16-
- name: prepare git
16+
- name: Prepare git
1717
run: |
1818
git config --global user.email 'cloud@opencast.org'
1919
git config --global user.name 'Release Bot'
2020
21-
- name: tag and push
21+
- name: Tag and push
2222
env:
2323
GH_TOKEN: ${{ github.token }}
2424
run: |

.github/workflows/crowdin-download-translations.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: prepare git
15+
- name: Prepare git
1616
run: |
1717
git config --global user.email 'crowdin-bot@opencast.org'
1818
git config --global user.name 'Crowdin Bot'
1919
20-
- name: prepare crowdin client
20+
- name: Prepare crowdin client
2121
run: |
2222
wget --quiet https://artifacts.crowdin.com/repo/deb/crowdin3.deb -O crowdin.deb
2323
sudo dpkg -i crowdin.deb
2424
25-
- name: download translations
25+
- name: Download translations
2626
env:
2727
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
2828
run: |
2929
crowdin download --config .crowdin.yaml -b main
3030
31-
- name: add new translations
31+
- name: Add new translations
3232
run: |
3333
git add src/i18n/org/opencastproject/adminui/languages/
3434
35-
- name: upload translations
35+
- name: Upload translations
3636
run: |
3737
if git commit -m "Automatically update translation keys"; then
3838
git push

.github/workflows/crowdin-upload-keys.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: prepare crowdin client
20+
- name: Prepare crowdin client
2121
run: |
2222
wget --quiet https://artifacts.crowdin.com/repo/deb/crowdin3.deb
2323
sudo dpkg -i crowdin3.deb
2424
25-
- name: upload translation source
25+
- name: Upload translation source
2626
env:
2727
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
2828
run: |

.github/workflows/deploy-container-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish container image
1+
name: PRs » Publish container image
22

33
on:
44
push:

.github/workflows/deploy-main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build & Deploy main branches
1+
name: Build » Deploy main branches
22

33
on:
44
push:
@@ -37,18 +37,18 @@ jobs:
3737
runs-on: ubuntu-latest
3838
needs: detect
3939
steps:
40-
- name: checkout code
40+
- name: Checkout sources
4141
uses: actions/checkout@v4
4242

43-
- name: get node.js
43+
- name: Get Node.js
4444
uses: actions/setup-node@v4
4545
with:
4646
node-version: 20
4747

48-
- name: download dependencies
48+
- name: Run npm ci
4949
run: npm ci
5050

51-
- name: build project
51+
- name: Build the app
5252
run: |
5353
npm run build
5454
env:
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Prepare git
6161
run: |
62-
git config --global user.name "Release Bot"
62+
git config --global user.name "Admin Interface Deployment Bot"
6363
git config --global user.email "cloud@opencast.org"
6464
6565
- name: Commit new version

.github/workflows/deploy-test.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Pull Request Page
1+
name: PRs » Publish Pull Request Page
22

33
on:
44
pull_request_target:
@@ -40,38 +40,39 @@ jobs:
4040
runs-on: ubuntu-latest
4141
needs: detect
4242
steps:
43-
- name: generate build path
43+
- name: Generate build path
4444
run: echo "build=${{github.event.number}}/$(date +%Y-%m-%d_%H-%M-%S)/" >> $GITHUB_OUTPUT
4545
id: build-path
4646

47-
- name: checkout code
47+
- name: Checkout sources
4848
uses: actions/checkout@v4
4949
with:
5050
ref: ${{github.event.pull_request.head.ref}}
5151
repository: ${{github.event.pull_request.head.repo.full_name}}
5252

53-
- name: get node.js
53+
- name: Get Node.js
5454
uses: actions/setup-node@v4
5555
with:
5656
node-version: 20
5757

58-
- name: download dependencies
58+
- name: Run npm ci
5959
run: npm ci
6060

61-
- name: build app
61+
- name: Build the app
6262
run: |
6363
npm run build
6464
env:
6565
VITE_TEST_SERVER_URL: ${{needs.detect.outputs.server}}
6666
NODE_ENV: development
6767
VITE_TEST_SERVER_AUTH: "admin:opencast"
6868

69-
- name: prepare git
69+
70+
- name: Prepare git
7071
run: |
7172
git config --global user.name "Admin Interface Deployment Bot"
7273
git config --global user.email "cloud@opencast.org"
7374
74-
- name: prepare GitHub SSH key
75+
- name: Prepare GitHub SSH key from org level secret
7576
env:
7677
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY_TEST }}
7778
run: |
@@ -80,18 +81,18 @@ jobs:
8081
chmod 600 ~/.ssh/id_ed25519
8182
ssh-keyscan github.com >> ~/.ssh/known_hosts
8283
83-
- name: wait for previous workflows to finish
84+
- name: Wait for previous workflows to finish
8485
uses: softprops/turnstyle@v2
8586
with:
8687
same-branch-only: false
8788
env:
8889
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8990

90-
- name: clone repository
91+
- name: Clone repository
9192
run: |
9293
git clone -b gh-pages "git@github.com:${{ github.repository_owner }}/opencast-admin-interface-test.git" admin-interface-test
9394
94-
- name: store build
95+
- name: Store build in the clone
9596
env:
9697
DEPLOY_PATH: admin-interface-test/${{ steps.build-path.outputs.build }}
9798
run: |
@@ -108,7 +109,7 @@ jobs:
108109
rm -f cleanup-deployments.sh
109110
git add .
110111
111-
- name: generate index.html
112+
- name: Generate index.html
112113
working-directory: admin-interface-test
113114
run: |
114115
echo '<html><body><ul>' > index.html
@@ -117,18 +118,18 @@ jobs:
117118
| sed 's/^\(.*\)$/<li><a href=\1>\1<\/a><\/li>/' >> index.html
118119
echo '</ul></body></html>' >> index.html
119120
120-
- name: commit new version
121+
- name: Commit new version
121122
working-directory: admin-interface-test
122123
run: |
123124
git add .
124125
git commit --amend -m "Build ${{ steps.build-path.outputs.build }}"
125126
126-
- name: push updates
127+
- name: Force push admin interface test branch
127128
working-directory: admin-interface-test
128129
run: |
129130
git push origin gh-pages --force
130131
131-
- name: add comment with deployment location
132+
- name: Add comment with deployment location
132133
uses: thollander/actions-comment-pull-request@v3
133134
with:
134135
comment-tag: static-test-deployment

.github/workflows/process-release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
name: Release » Process release tag
2+
13
on:
24
workflow_dispatch:
35
push:
46
tags:
57
# CF: 17.x-YYYY-MM-DD
68
- '*.x-*-*-*'
79

8-
name: Process Release Tag
910
jobs:
1011
build:
1112
name: Create release from tag
@@ -20,23 +21,23 @@ jobs:
2021
pull-requests: write #For the PR in the upstream repo
2122

2223
steps:
23-
- name: checkout code
24+
- name: Checkout sources
2425
uses: actions/checkout@v4
2526

26-
- name: get node.js
27+
- name: Get Node.js
2728
uses: actions/setup-node@v4
2829
with:
2930
node-version: 20
3031

31-
- name: download dependencies
32+
- name: Run npm ci
3233
run: npm ci
3334

34-
- name: build release
35+
- name: Build the app
3536
env:
3637
PUBLIC_URL: /admin-ui
3738
run: npm run build
3839

39-
- name: create release tarball
40+
- name: Create release tarball
4041
id: tarball
4142
working-directory: build
4243
env:
@@ -66,7 +67,7 @@ jobs:
6667
echo "branch=develop" >> $GITHUB_OUTPUT
6768
fi
6869
69-
- name: create new release
70+
- name: Create new release in github
7071
uses: softprops/action-gh-release@v2
7172
with:
7273
files: oc-admin-ui-*.tar.gz

0 commit comments

Comments
 (0)