Skip to content

Commit

Permalink
Workflow naming update
Browse files Browse the repository at this point in the history
Renamed workflows, jobs and steps to better reflect what is actually
happening.
  • Loading branch information
brunokc committed Jul 17, 2023
1 parent 98d4728 commit 081db20
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build pve-kernel (in container)
name: Build pve-kernel

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

jobs:
build:
name: Build pve kernel
name: Build PVE kernel
runs-on: ${{ inputs.runner }}
if: github.event.repository.owner.id == github.event.sender.id
outputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check version on new pve-kernel releases
name: Check for new PVE kernel release

on:
workflow_dispatch:
Expand All @@ -25,7 +25,7 @@ env:

jobs:
check-for-new-kernel:
name: Check for new release
name: Check for new kernel release
runs-on: ubuntu-latest
#if: github.event.repository.owner.id == github.event.sender.id
outputs:
Expand All @@ -48,12 +48,12 @@ jobs:
with:
token: ${{ env.TOKEN }}

- name: Initialization environment
- name: Initialize environment
run: |
sudo -E apt-get update
sudo -E apt install -y curl
- name: Check for updates
- name: Check for latest kernel version
id: check-version
run: |
config_path='${{ github.workspace }}/config/${{ inputs.branch }}/version'
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
fi
rm -f shortlog.html
- name: Commit and Push changes
- name: Save new kernel version
continue-on-error: true
if: steps.check-version.outputs.status == 'needs-update'
run: |
Expand All @@ -94,15 +94,15 @@ jobs:
git push
build-kernel:
name: Call build kernel workflow
name: Build new kernel
needs: check-for-new-kernel
if: needs.check-for-new-kernel.outputs.new-kernel-available == 'true'
uses: ./.github/workflows/build-pve-kernel-container.yml
with:
branch: ${{ inputs.branch }}

release-new-kernel:
name: Release new PVE kernels
name: Release new kernel
needs: [check-for-new-kernel, build-kernel]
if: needs.build-kernel.outputs.build-successful == 'true'
uses: ./.github/workflows/release.yml
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check for new pve-kernel releases
name: Trigger new pve-kernel release check

on:
workflow_dispatch:
Expand Down

0 comments on commit 081db20

Please sign in to comment.