Skip to content

Commit

Permalink
Update workflow jobs' naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean committed Jan 4, 2025
1 parent 713932a commit 0674286
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-and-test:
uses: ./.github/workflows/backend_tests.yml
with:
event_name: ${{ github.event_name }}
2 changes: 1 addition & 1 deletion .github/workflows/backend_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-and-test:
uses: ./.github/workflows/backend_tests.yml
with:
event_name: ${{ github.event_name }}
4 changes: 2 additions & 2 deletions .github/workflows/cve_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:

build-and-test:
check-cves:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
exit-code: "1"

notify:
needs: build-and-test
needs: check-cves
if: ${{ always() && needs.build-and-test.result == 'failure' }}
uses: ./.github/workflows/infra_discord_hook.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/frontend_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-and-test:
uses: ./.github/workflows/frontend_tests.yml
2 changes: 1 addition & 1 deletion .github/workflows/frontend_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-and-test:
uses: ./.github/workflows/frontend_tests.yml
2 changes: 1 addition & 1 deletion .github/workflows/md-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
contents: read

jobs:
build-and-test:
lint-md:
runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pr_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ on:
permissions:
checks: write
jobs:
task-check:
check-tasks:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: dekinderfiets/[email protected]
if: false # TODO remove when public
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/workflow_linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
contents: read

jobs:
build-and-test:
lint-workflows:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 0674286

Please sign in to comment.