Skip to content
Compare
Choose a tag to compare
@suzuki-shunsuke suzuki-shunsuke released this 28 Aug 23:59
· 41 commits to main since this release
v1.1.0
36a15b8

v1.0.1...v1.1.0

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 }}