Skip to content

Commit

Permalink
CI: Shorten job and step labels in workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
gxalpha authored Aug 1, 2023
1 parent c3ac912 commit 211a812
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_call:
jobs:
check-event:
name: Check GitHub Event Data 📡
name: Event Data 🔎
runs-on: ubuntu-22.04
defaults:
run:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
echo "commitHash=${GITHUB_SHA:0:9}" >> $GITHUB_OUTPUT
macos-build:
name: Build for macOS 🍏
name: macOS 🍏
runs-on: macos-13
needs: check-event
strategy:
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
key: ${{ runner.os }}-ccache-${{ matrix.target }}-${{ needs.check-event.outputs.config }}

ubuntu-build:
name: Build for Ubuntu 🐧
name: Ubuntu 🐧
runs-on: ubuntu-22.04
needs: check-event
defaults:
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
key: ${{ runner.os }}-ccache-x86_64-${{ needs.check-event.outputs.config }}

flatpak-build:
name: Build Application for Flatpak 📦
name: Flatpak 📦
runs-on: ubuntu-22.04
needs: check-event
defaults:
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
cache-key: ${{ steps.setup.outputs.cacheKey }}

windows-build:
name: Build for Windows 🪟
name: Windows 🪟
runs-on: windows-2022
needs: check-event
defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions:
contents: write
jobs:
services-validation:
name: Check Services Configuration Files 🕵️
name: Validate Services 🕵️
if: github.repository_owner == 'obsproject' && inputs.job == 'services'
runs-on: macos-13
permissions:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-pull.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pull Request
name: Pull
run-name: ${{ github.event.pull_request.title }} pull request run 🚀
on:
workflow_dispatch:
Expand All @@ -14,20 +14,20 @@ concurrency:
cancel-in-progress: true
jobs:
check-format:
name: Check Formatting 🔍
name: Format 🔍
uses: ./.github/workflows/check-format.yaml
permissions:
contents: read

build-project:
name: Build Project 🧱
name: Build 🧱
uses: ./.github/workflows/build-project.yaml
secrets: inherit
permissions:
contents: read

compatibility-validation:
name: Validate Compatibility Data 🕵️
name: Validate Compatibility 🕵️
if: github.base_ref == 'master'
runs-on: ubuntu-22.04
permissions:
Expand All @@ -49,7 +49,7 @@ jobs:
uses: ./.github/actions/compatibility-validator

services-validation:
name: Validate Services Data 🕵️
name: Validate Services 🕵️
if: github.base_ref == 'master'
runs-on: ubuntu-22.04
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
esac
flatpak-publish:
name: Publish to Flathub 📦
name: Flathub 📦
needs: check-tag
if: github.repository_owner == 'obsproject' && fromJSON(needs.check-tag.outputs.validTag)
runs-on: ubuntu-22.04
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push to master and release branches
name: Push
run-name: ${{ github.ref_name }} push run 🚀
on:
push:
Expand All @@ -16,21 +16,21 @@ concurrency:
cancel-in-progress: ${{ fromJSON(github.ref_type == 'tag') }}
jobs:
check-format:
name: Check Formatting 🔍
name: Format 🔍
if: github.ref_name == 'master'
uses: ./.github/workflows/check-format.yaml
permissions:
contents: read

build-project:
name: Build Project 🧱
name: Build 🧱
uses: ./.github/workflows/build-project.yaml
secrets: inherit
permissions:
contents: read

compatibility-validation:
name: Validate Compatibility Data 🕵️
name: Validate Compatibility 🕵️
if: github.ref_name == 'master'
runs-on: ubuntu-22.04
permissions:
Expand All @@ -54,7 +54,7 @@ jobs:
repositorySecret: ${{ github.token }}

services-validation:
name: Validate Service Data 🕵️
name: Validate Services 🕵️
if: github.ref_name == 'master'
runs-on: ubuntu-22.04
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
echo '::endgroup::'
build-project:
name: Build Project 🧱
name: Build 🧱
uses: ./.github/workflows/build-project.yaml
needs: cache-cleanup
secrets: inherit
Expand Down

0 comments on commit 211a812

Please sign in to comment.