Skip to content

Commit de211a9

Browse files
authored
feat: Pin versions (#28)
Pin python versions Pin yamllint version Remove labels as this is handled by the Docker metadata action Signed-off-by: Dan Webb <[email protected]>
1 parent a2d2ed5 commit de211a9

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/publish.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ jobs:
5454
tag: ${{ steps.tag_version.outputs.new_tag }}
5555
name: Release ${{ steps.tag_version.outputs.new_tag }}
5656
body: ${{ steps.tag_version.outputs.changelog }}
57+
generateReleaseNotes: true

Dockerfile

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
FROM python:slim
2-
3-
LABEL org.opencontainers.image.description \
4-
"Yamllint Action for GitHub Actions" \
5-
org.opencontainers.image.url \
6-
"https://github.com/actionshub/yamllint" \
7-
org.opencontainers.image.authors \
8-
"https://github.com/actionshub"
1+
FROM python:3.10-slim
92

103
ENV MATCHERS_DIR="._actionshub_problem-matchers" \
114
MATCHER_FILE="${MATCHERS_DIR}/yamllint.json"
125

136
COPY yamllint.json ${MATCHER_FILE}
14-
RUN pip install yamllint \
7+
RUN pip install yamllint==v1.29.0 \
158
&& mkdir -p ${MATCHERS_DIR} \
169
&& echo "::[add-matcher]${MATCHER_FILE}"
1710

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: 'Jason Field'
44
description: 'Run yamllint on your yaml files with ease'
55
runs:
66
using: 'docker'
7-
image: docker://ghcr.io/actionshub/yamllint:v1.4.0
7+
image: docker://ghcr.io/actionshub/yamllint:v1.5.0
88
branding:
99
icon: 'edit-3'
1010
color: 'red'

0 commit comments

Comments
 (0)