Features
#699 #701 Support validating multiple files
You can validate multiple files by setting multiple lines to config_file_path
.
Leading spaces on each line are removed.
e.g.
with:
config_file_path: |
default.json
foo.json
You can pass config_file_path
through output command.
e.g.
- id: files
run: |
set -euo pipefail
files=$(git ls-files | grep renovate.json)
# https://stackoverflow.com/a/74232400
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
{
echo "files<<$EOF"
echo "$files"
echo "$EOF"
} >> "$GITHUB_OUTPUT"
- name: Pass files through output
uses: suzuki-shunsuke/github-action-renovate-config-validator@v1.1.0
with:
config_file_path: ${{ steps.files.outputs.files }}