Skip to content

Commit

Permalink
ci(github): updates workflow/job naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Sep 24, 2023
1 parent 264e1f2 commit 2f2c6ce
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bd-fe.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 📦 Build & Deploy
run-name: "🚜 ${{ github.ref_name == 'main' && 'PRD' || 'STG' }} - Build & Deploy - ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}"
name: 🚀 Build & Deploy
run-name: "🚀 ${{ github.ref_name == 'main' && 'PRD' || 'STG' }} - Build & Deploy - ${{ github.event_name == 'pull_request' && format('PR #{0}: {1}', github.event.pull_request.number, github.event.pull_request.title) || format('latest {0}', github.ref_name) }}"

on:
workflow_dispatch:
Expand Down Expand Up @@ -58,7 +58,7 @@ env:

jobs:
build_deploy:
name: 🚜 Build & Deploy to ${{ github.ref_name == 'main' && 'PRD' || 'STG' }}
name: 🎁 Pushing to ${{ github.ref_name == 'main' && 'PRD' || 'STG' }}
runs-on: ubuntu-latest
concurrency:
group: build-deploy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bdt-fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:

build_deploy:
name: 📦 Build & Deploy
name: 🚀 Build & Deploy
uses: ./.github/workflows/bd-fe.yml
secrets:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
REPORTS_DISTRIBUTION: ${{ secrets.REPORTS_DISTRIBUTION }}

lighthouse:
name: 🧐 Performance
name: 🎭 Performance
needs: build_deploy
uses: ./.github/workflows/test-lighthouse.yml
secrets:
Expand All @@ -72,7 +72,7 @@ jobs:
REPORTS_DISTRIBUTION: ${{ secrets.REPORTS_DISTRIBUTION }}

pagespeed:
name: 🧐 PageSpeed
name: 📈 Metrics
needs: build_deploy
uses: ./.github/workflows/test-psi.yml
secrets:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dispatch-bd-fe--cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
cancel-in-progress: true

steps:
- name: ✓ Approve CMS Dispatch
- name: ✓ Approve
uses: dgrebb/[email protected]
with:
secret: ${{ github.TOKEN }}
Expand All @@ -23,7 +23,7 @@ jobs:
issue-body: "Please approve or deny the deployment of version ${{ github.ref_name }}."
exclude-workflow-initiator-as-approver: false
additional-approved-words: y,a
labels: 'publish'
labels: 'content'

frontend:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch-bd-fe--release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ➡ 🚀 B&D FE Release
name: 🚀 Build & Deploy Release

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-backstop-refs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🙈 BackstopJS - Refs
name: 🙊 Generate Refs
on:
workflow_dispatch:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-backstop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🙈 BackstopJS
name: 🙈 Run BackstopJS
run-name: "${{ github.ref_name == 'main' && 'PRD' || 'STG' }} - BackstopJS ${{ github.event_name == 'pull_request' && format('PR #{0}: {1} on ', github.event.pull_request.number, github.event.pull_request.title) || format('on latest {0}', github.ref_name) }}"

on:
Expand Down

0 comments on commit 2f2c6ce

Please sign in to comment.