Skip to content

Commit

Permalink
change job names
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto committed Sep 23, 2023
1 parent d5559cf commit 4ce9f07
Show file tree
Hide file tree
Showing 26 changed files with 47 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azure-app-service-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
build:
apply-azure-app-service-settings:
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-app-service-swap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
deploy:
swap-azure-app-service-slot:
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-az-login-using-oidc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
contents: read

jobs:
az_login_with_oidc:
az-login-with-oidc:
runs-on: ubuntu-latest
steps:
- name: Az CLI Login
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-az-login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

jobs:
az_login:
az-login:
runs-on: ubuntu-latest

steps:
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/azure-sql-using-conn-string.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,10 @@ permissions:
contents: read

jobs:
connect_to_azure_sql:
connect-to-azure-sql:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Az CLI Login
uses: azure/login@v1
with:
client-id: ${{ vars.AZURE_CLIENT_ID }}
tenant-id: ${{ vars.AZURE_TENANT_ID }}
subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }}

- name: Show database version
uses: azure/sql-action@v2
with:
Expand All @@ -33,6 +24,3 @@ jobs:
with:
connection-string: ${{ secrets.AZURE_SQL_CONNECTION_STRING }}
path: './sqlscripts/show-tables.sql'

- name: Az CLI Logout
run: az logout
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:

build:
build-nginx-image:

runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish-to-ghcr-express.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Express Image to ghcr.io
name: Push Express Image to ghcr.io

on:
workflow_dispatch:
Expand All @@ -9,7 +9,7 @@ env:
IMAGE_NAME: ${{ github.repository }}-express

jobs:
build:
build-and-push-express-image:

runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish-to-ghcr-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
build-and-push-nginx-image:

runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-actions-job-summaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
summarize:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-cli-list-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
build:
list-own-repos:
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-issue-creatation-using-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
create_issue:
create-issue-using-cli:
runs-on: ubuntu-latest
steps:
- name: Create an issue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
create_issue:
create-issue-using-marketplace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
create_issue:
create-issue-daily:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-pages-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
id-token: write

jobs:
github-pages-build:
build-github-pages:
runs-on: ubuntu-latest

steps:
Expand All @@ -23,7 +23,7 @@ jobs:
with:
path: html

github-pages-deploy:
deploy-github-pages:
needs:
- github-pages-build

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/net70-aspnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
contents: read

jobs:
build:
build-aspnetcore7:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -49,10 +49,10 @@ jobs:
name: .net-app
path: ${{env.DOTNET_ROOT}}/myapp

deploy:
deploy-aspnetcore7:
runs-on: ubuntu-latest

needs: build
needs: build-aspnetcore7

steps:
- name: Download artifact from build job
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-express-with-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
contents: read

jobs:
build:
build-express-zip:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -54,9 +54,9 @@ jobs:
name: ${{ env.PACKAGE_NAME }}
path: ${{ env.WORKING_DIRECTORY }}/${{ env.ARCHIVE_NAME }}

deploy:
deploy-express-zip:
runs-on: ubuntu-latest
needs: build
needs: build-express-zip
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-express-without-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
contents: read

jobs:
build:
build-and-deploy-express-zip:
runs-on: ubuntu-latest

defaults:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
contents: read

jobs:
build:
build-express:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -45,9 +45,9 @@ jobs:
name: node-app
path: ${{ env.WORKING_DIRECTORY }}

deploy:
deploy-express:
runs-on: ubuntu-latest
needs: build
needs: build-express
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
ARCHIVE_NAME: nuxtjs.zip

jobs:
build:
build-nuxtjs-zip:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -50,9 +50,9 @@ jobs:
name: ${{ env.PACKAGE_NAME }}
path: ${{ env.WORKING_DIRECTORY }}/${{ env.ARCHIVE_NAME }}

deploy:
deploy-nuxtjs-zip:
runs-on: ubuntu-latest
needs: build
needs: build-nuxtjs-zip
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-nuxtjs-on-azure-app-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
PACKAGE_NAME: node-app

jobs:
build:
build-nuxtjs:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -42,9 +42,9 @@ jobs:
name: ${{ env.PACKAGE_NAME }}
path: ${{ env.WORKING_DIRECTORY }}

deploy:
deploy-nuxtjs:
runs-on: ubuntu-latest
needs: build
needs: build-nuxtjs
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node-nuxtjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
WORKING_DIRECTORY: nodejs/nuxtjs

jobs:
build_and_deploy_job:
build-and-deploy-nuxtjs:
# if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
Expand All @@ -34,7 +34,7 @@ jobs:
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
close-pull-request-job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php-laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
WORKING_DIRECTORY: php/laravel

jobs:
build:
build-laravel:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -58,9 +58,9 @@ jobs:
name: php-app
path: ${{ env.WORKING_DIRECTORY }}

deploy:
deploy-laravel:
runs-on: ubuntu-latest
needs: build
needs: build-laravel
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php-simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
WORKING_DIRECTORY: php/simple

jobs:
build:
build-php:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -58,9 +58,9 @@ jobs:
name: php-app
path: ${{ env.WORKING_DIRECTORY }}

deploy:
deploy-php:
runs-on: ubuntu-latest
needs: build
needs: build-php
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
WORKING_DIRECTORY: python/django

jobs:
build:
build-django:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -43,9 +43,9 @@ jobs:
./${{ env.WORKING_DIRECTORY }}
!./${{ env.WORKING_DIRECTORY }}/venv/
deploy:
deploy-django:
runs-on: ubuntu-latest
needs: build
needs: build-django
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-fastapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
WORKING_DIRECTORY: python/fastapi

jobs:
build:
build-fastapi:
runs-on: ubuntu-latest

defaults:
Expand Down Expand Up @@ -43,9 +43,9 @@ jobs:
./${{ env.WORKING_DIRECTORY }}
!./${{ env.WORKING_DIRECTORY }}/venv/
deploy:
deploy-fastapi:
runs-on: ubuntu-latest
needs: build
needs: build-fastapi
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-trigger-parent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

jobs:
build:
workflow-trigger-parent:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 4ce9f07

Please sign in to comment.