aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-05-05 11:04:28 +0100
committerGravatar Chris Lovering <[email protected]>2023-05-05 11:04:28 +0100
commit3e1931fcd2444af7fd3545c28a39ff1c62a33adf (patch)
tree3238e73f4df3dae9be0d08e9d0ef003c4a52fcca /.github
parentSimplify call to SebastiaanZ/github-status-embed-for-discord (diff)
Use consistent capitalisation in CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-deploy.yaml6
-rw-r--r--.github/workflows/lint.yaml10
-rw-r--r--.github/workflows/main.yaml2
-rw-r--r--.github/workflows/status_embed.yaml10
4 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml
index 8aa8884..61541cd 100644
--- a/.github/workflows/build-deploy.yaml
+++ b/.github/workflows/build-deploy.yaml
@@ -1,4 +1,4 @@
-name: Build & Deploy
+name: Build & deploy
on:
workflow_call:
@@ -10,7 +10,7 @@ on:
jobs:
build:
- name: Build & Push
+ name: Build & push
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -25,7 +25,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- - name: Login to Github Container Registry
+ - name: Login to GHCR.io
uses: docker/login-action@v2
with:
registry: ghcr.io
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 9aeb46a..bfa7eb0 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -11,7 +11,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- - name: Install Python Dependencies
+ - name: Install Python dependencies
uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.0
with:
python_version: '3.10'
@@ -24,16 +24,16 @@ jobs:
run: "ruff check --format=github ."
artifact:
- name: Generate & Upload Pull request Artifacts
+ name: Generate & upload pull request artifacts
if: always() && github.event_name == 'pull_request'
needs: lint
runs-on: ubuntu-latest
steps:
- # Prepare the Pull Request Payload artifact. If this fails, we
+ # Prepare the pull request payload artifact. If this fails, we
# we fail silently using the `continue-on-error` option. It's
# nice if this succeeds, but if it fails for any reason, it
# does not mean that our lint-test checks failed.
- - name: Prepare Pull Request Payload artifact
+ - name: Prepare pull request payload artifact
id: prepare-artifact
if: always() && github.event_name == 'pull_request'
continue-on-error: true
@@ -43,7 +43,7 @@ jobs:
# get the original outcome of the previous step before the
# `continue-on-error` conclusion is applied, we use the
# `.outcome` value. This step also fails silently.
- - name: Upload a Build Artifact
+ - name: Upload a build artifact
if: always() && steps.prepare-artifact.outcome == 'success'
continue-on-error: true
uses: actions/upload-artifact@v3
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index b476f02..72afbde 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -16,7 +16,7 @@ jobs:
outputs:
sha-tag: ${{ steps.sha-tag.outputs.sha-tag }}
steps:
- - name: Create SHA Container tag
+ - name: Create short SHA to be used as a container tag
id: sha-tag
run: |
tag=$(cut -c 1-7 <<< $GITHUB_SHA)
diff --git a/.github/workflows/status_embed.yaml b/.github/workflows/status_embed.yaml
index 7ba7dd9..8728383 100644
--- a/.github/workflows/status_embed.yaml
+++ b/.github/workflows/status_embed.yaml
@@ -1,6 +1,6 @@
# Sends a status embed to a discord webhook
-name: Status Embed
+name: Status embed
on:
workflow_run:
@@ -11,13 +11,13 @@ on:
jobs:
status_embed:
- name: Send Status Embed to Discord
+ name: Send status embed to Discord
runs-on: ubuntu-latest
steps:
# A workflow_run event does not contain all the information
# we need for a PR embed. That's why we upload an artifact
# with that information in the Lint workflow.
- - name: Get Pull Request Information
+ - name: Get pull request information
id: pr_info
if: github.event.workflow_run.event == 'pull_request'
run: |
@@ -38,10 +38,10 @@ jobs:
# standard embeds that Discord sends. This embed will contain
# more information and we can fine tune when we actually want
# to send an embed.
- - name: GitHub Actions Status Embed for Discord
+ - name: Github actions status embed for Discord
uses: SebastiaanZ/[email protected]
with:
- # Our GitHub Actions webhook
+ # Our Github actions webhook
webhook_id: '784184528997842985'
webhook_token: ${{ secrets.GHA_WEBHOOK_TOKEN }}