Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update suzuki-shunsuke/github-action-renovate-config-validator action to v1 #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2023

This PR contains the following updates:

Package Type Update Change
suzuki-shunsuke/github-action-renovate-config-validator action major v0.1.3 -> v1.1.1

Release Notes

suzuki-shunsuke/github-action-renovate-config-validator (suzuki-shunsuke/github-action-renovate-config-validator)

v1.1.1

Compare Source

Bug Fixes

#​768 #​770 #​772 Fixed a bug strict doesn't work

renovate-config-validator has an issue aboutRENOVATE_CONFIG_FILE.

And now renovate-config-validator can accept files via positional arguments.

Unlike RENOVATE_CONFIG_FILE, positional arguments can pass multiple files, so we don't need to run renovate-config-validator by file.
So this release replaces RENOVATE_CONFIG_FILE with positional arguments.

v1.1.0

Compare Source

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/[email protected]
        with:
          config_file_path: ${{ steps.files.outputs.files }}

v1.0.1

Compare Source

Fixes

#​551 Suppress npx warnings using --yes option @​TWiStErRob

This action executes renovate-config-validator via npx, then the following warning was outputted.

npm WARN exec The following package was not found and will be installed: [email protected]

To suppress the warning, we set npx's --yes option.

https://docs.npmjs.com/cli/v8/commands/npx

If any requested packages are not present in the local project dependencies, then they are installed to a folder in the npm cache, which is added to the PATH environment variable in the executed process.
A prompt is printed (which can be suppressed by providing either --yes or --no).

To prevent security and user-experience problems from mistyping package names, npx prompts before installing anything.
Suppress this prompt with the -y or --yes option.
The --no-install option is deprecated, and will be converted to --no.

🎉 New contributors

Thank you for your contribution!

@​TWiStErRob #​551

v1.0.0

Compare Source

⚠️ Breaking Changes

#​531 renovate-config-validator's --strict option is enabled by default.

How to migrate

There are several options.

  1. Recommended: Fix Renovate configuration according to the error message
  2. Unrecommended: Set false to the input strict to disable --strict option

⚠️ Security Improvement

#​530 Pass inputs via environment variables to prevent malicious injection

Features

#​531 Add the input strict.

You can enable renovate-config-validator's --strict option.


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f5c6ec2) 46.05% compared to head (4a01cd2) 46.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   46.05%   46.05%           
=======================================
  Files          49       49           
  Lines        1874     1874           
=======================================
  Hits          863      863           
  Misses       1011     1011           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/suzuki-shunsuke-github-action-renovate-config-validator-1.x branch from 31cfe62 to ac1b9d6 Compare December 15, 2023 14:30
@renovate renovate bot force-pushed the renovate/suzuki-shunsuke-github-action-renovate-config-validator-1.x branch from ac1b9d6 to 4a01cd2 Compare January 13, 2024 11:28
@renovate renovate bot force-pushed the renovate/suzuki-shunsuke-github-action-renovate-config-validator-1.x branch from 4a01cd2 to b21c2c6 Compare August 29, 2024 00:07
@renovate renovate bot force-pushed the renovate/suzuki-shunsuke-github-action-renovate-config-validator-1.x branch from b21c2c6 to 66e58d6 Compare November 27, 2024 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants