Skip to content

Commit c4322de

Browse files
committed
chore: enhance workflow names and details
1 parent 7aa7315 commit c4322de

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql
2-
name: "CodeQL"
2+
name: Scan code with CodeQL
33

44
on:
55
push:

.github/workflows/docker.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: Publish to GitHub Container Registry
1+
# https://docs.github.com/en/actions/tutorials/publishing-packages/publishing-docker-images
2+
name: Publish Docker image to GitHub
23

34
on:
4-
release:
5-
types: [published]
5+
push:
6+
tags:
7+
- 'v*'
68
workflow_dispatch:
79

810
env:
@@ -40,6 +42,11 @@ jobs:
4042
uses: docker/metadata-action@v5
4143
with:
4244
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
45+
tags: |
46+
type=ref,event=tag
47+
type=ref,event=branch
48+
type=raw,value=latest
49+
type=sha,prefix={{branch}}-
4350
4451
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
4552
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see [Usage](https://github.com/docker/build-push-action#usage) in the README of the `docker/build-push-action` repository.

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint
1+
name: Lint code with pre-commit
22

33
on:
44
push:

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
name: Test
1+
name: Run tests with pytest
22

33
on:
44
push:
5-
branches: [ main, develop ]
65
pull_request:
7-
branches: [ main, develop ]
86

97
env:
108
# enable colored output

0 commit comments

Comments
 (0)