diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index caa8dae..0811711 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,4 +1,4 @@ -name-template: "$RESOLVED_VERSION" +name-template: "v$RESOLVED_VERSION" tag-template: "v$RESOLVED_VERSION" categories: - title: "🚀 Features" diff --git a/Dockerfile b/Dockerfile index e1e87e3..b9397ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/action.yaml b/action.yaml index 8a082ec..fe9a68e 100644 --- a/action.yaml +++ b/action.yaml @@ -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"