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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.20.3-bullseye

ENV VERSION=v0.3.9
ENV VERSION=v0.3.10

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ inputs:
description: 'Specify directories to pass changed-objects command'
required: false
default: ''
root_marker:
description: 'A glob pattern of file that marks the root directory (e.g. *.tf). When specified, traverses parent directories to find the nearest ancestor containing a matching file.'
required: false
default: ''
outputs:
changes:
description: 'Changed objects'
Expand Down
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ if [[ -n ${INPUT_DIR_EXIST} ]]; then
flags+=("--dir-exist=${INPUT_DIR_EXIST}")
fi

if [[ -n ${INPUT_ROOT_MARKER} ]]; then
flags+=("--root-marker=${INPUT_ROOT_MARKER}")
fi

if [[ -n ${INPUT_IGNORE} ]]; then
for ig in ${INPUT_IGNORE//$'\n'/ }
do
Expand Down