Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name-template: "$RESOLVED_VERSION"
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
categories:
- title: "🚀 Features"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN export CGO_ENABLED=0 && go build -o ./yamllint-action .
FROM python:3.13.1-alpine3.19
RUN pip install --no-cache-dir yamllint==1.35.1 && \
adduser --disabled-password --gecos "" --home "/nonexistent" --shell "/sbin/nologin" --no-create-home --uid 10001 appuser
COPY --from=build /yamllint-action/yamllint-action /script_exporter
COPY --from=build /yamllint-action/yamllint-action /yamllint-action
COPY entrypoint.sh /entrypoint.sh
USER appuser:appuser
ENTRYPOINT ["/entrypoint.sh"]
21 changes: 11 additions & 10 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
name: 'YAML Lint and Annotate'
description: 'Lints yaml files and annotates every finding'
author: 'Staffbase GmbH'
name: "YAML Lint and Annotate"
description: "Lints yaml files and annotates every finding"
author: "Staffbase SE"

inputs:
action-name:
description: 'Name of the running action'
default: 'yamllint'
description: "Name of the running action"
default: "yamllint"
required: false
target-path:
description: 'Path to directory containing the yaml files (processed recursively)'
description:
"Path to directory containing the yaml files (processed recursively)"
required: true
token:
description: 'Used to annotate findings'
description: "Used to annotate findings"
default: ${{ github.token }}
required: true

runs:
using: docker
image: docker://staffbase/yamllint-action
image: Dockerfile
env:
TARGET_PATH: ${{ inputs.target-path }}
ACTION_NAME: ${{ inputs.action-name }}
GITHUB_TOKEN: ${{ inputs.token }}

branding:
icon: 'check-square'
color: 'blue'
icon: "check-square"
color: "blue"
Loading