diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 16417b3..1de589f 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -18,6 +18,7 @@ jobs: #fail-on-missing: true paths: |- ^action.yml + ^missing-final-newline.md # > Note: A job that is skipped will report its status as "Success". # > It will not prevent a pull request from merging, even if it is a required check. # ref. https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution#overview diff --git a/README.md b/README.md index aff8b48..7cba5f0 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ jobs: #fail-on-missing: true paths: |- ^action.yml + ^missing-final-newline.md # > Note: A job that is skipped will report its status as "Success". # > It will not prevent a pull request from merging, even if it is a required check. # ref. https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution#overview diff --git a/action.yml b/action.yml index 6ea889f..1739f0d 100644 --- a/action.yml +++ b/action.yml @@ -158,7 +158,7 @@ runs: LogshDebug "==> files_changed (applied paths-ignore) <==" LogshDebug "${files_changed:-(empty)}" else - LogshWarn "paths and paths-ignore are not set." + LogshInfo "paths and paths-ignore are not set." files_changed=$(echo "${files_changed:?}") fi @@ -205,4 +205,4 @@ runs: -- toJSON(github) ---------------------------------------------- ${{ toJSON(github) }} ================================================================ - DEBUG_DOC \ No newline at end of file + DEBUG_DOC diff --git a/missing-final-newline.md b/missing-final-newline.md new file mode 100644 index 0000000..4efc945 --- /dev/null +++ b/missing-final-newline.md @@ -0,0 +1 @@ +# This file is missing final newline. \ No newline at end of file