Magickbase / nervos-official-website

nervos.org
https://nervos-official-website.vercel.app/
3 stars 16 forks source link

chore(deps): update tj-actions/changed-files action to v37 #217

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
tj-actions/changed-files action major v36 -> v37

Release Notes

tj-actions/changed-files (tj-actions/changed-files) ### [`v37`](https://togithub.com/tj-actions/changed-files/releases/tag/v37) [Compare Source](https://togithub.com/tj-actions/changed-files/compare/v36...v37) ### Changes in v37.0.3 #### What's Changed - Upgraded to v37.0.2 by [@​tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1305](https://togithub.com/tj-actions/changed-files/pull/1305) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1306](https://togithub.com/tj-actions/changed-files/pull/1306) - fix: bug listing submodule paths by [@​jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1308](https://togithub.com/tj-actions/changed-files/pull/1308) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1309](https://togithub.com/tj-actions/changed-files/pull/1309) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v37...v37.0.3 *** ### Changes in v37.0.2 #### What's Changed - Upgraded to v37.0.1 by [@​tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1300](https://togithub.com/tj-actions/changed-files/pull/1300) - chore(deps): update tj-actions/eslint-changed-files action to v20 by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1301](https://togithub.com/tj-actions/changed-files/pull/1301) - chore(deps): update dependency [@​types/node](https://togithub.com/types/node) to v20.3.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1303](https://togithub.com/tj-actions/changed-files/pull/1303) - fix: add warning message when unable to list submodules by [@​jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1304](https://togithub.com/tj-actions/changed-files/pull/1304) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v37...v37.0.2 *** ### Changes in v37.0.1 #### What's Changed - Upgraded to v37 by [@​tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1298](https://togithub.com/tj-actions/changed-files/pull/1298) - fix: error using current path to determine the .git dir location by [@​jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1299](https://togithub.com/tj-actions/changed-files/pull/1299) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v37...v37.0.1 *** ### Changes in v37.0.0 #### πŸš€ New Feature - This version introduces support for using Github's REST API to retrieve the list of changed files without requiring the checkout action. ##### Example ```yml name: CI on: pull_request: branches: - main jobs: ### ------------------------------------------------------------- ### Event `pull_request`: Returns all changed pull request files. ### -------------------------------------------------------------- job: # Example - Using GitHub's API ### NOTE: ### - This is limited to pull_request* events and would raise an error for other events. ### - A maximum of 3000 files can be returned. runs-on: ubuntu-latest name: Test changed-files permissions: pull-requests: read steps: - name: Get changed files id: changed-files uses: tj-actions/changed-files@v37 - name: List all changed files run: | for file in ${{ steps.changed-files.outputs.all_changed_files }}; do echo "$file was changed" done ``` #### πŸ”₯ Breaking Change - Removes the deprecated `dir_names_exclude_root` input which has been replaced by ` dir_names_exclude_current_dir ` #### What's Changed - Upgraded to v36.4.1 by [@​tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1283](https://togithub.com/tj-actions/changed-files/pull/1283) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1284](https://togithub.com/tj-actions/changed-files/pull/1284) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1285](https://togithub.com/tj-actions/changed-files/pull/1285) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1287](https://togithub.com/tj-actions/changed-files/pull/1287) - chore(deps): update tj-actions/verify-changed-files action to v16 by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1288](https://togithub.com/tj-actions/changed-files/pull/1288) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1290](https://togithub.com/tj-actions/changed-files/pull/1290) - feat: add support for retrieving changed files via github rest api by [@​jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1289](https://togithub.com/tj-actions/changed-files/pull/1289) - Updated README.md by [@​tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1292](https://togithub.com/tj-actions/changed-files/pull/1292) - remove: deprecated dir_names_exclude_root by [@​jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1291](https://togithub.com/tj-actions/changed-files/pull/1291) - Updated README.md by [@​tj-actions-bot](https://togithub.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1295](https://togithub.com/tj-actions/changed-files/pull/1295) - chore: use input api url by [@​jackton1](https://togithub.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1293](https://togithub.com/tj-actions/changed-files/pull/1293) - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1297](https://togithub.com/tj-actions/changed-files/pull/1297) **Full Changelog**: https://github.com/tj-actions/changed-files/compare/v36...v37.0.0 ***

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
nervos-official-website βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jun 26, 2023 6:08pm
pull-request-quantifier-deprecated[bot] commented 1 year ago

This PR has 2 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

``` Label : Extra Small Size : +1 -1 Percentile : 0.8% Total files changed: 1 Change summary by file extension: .yml : +1 -1 ``` > Change counts above are quantified counts, based on the [PullRequestQuantifier customizations](https://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md).

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a balance between between PR complexity and PR review overhead. PRs within the optimal size (typical small, or medium sized PRs) mean: - Fast and predictable releases to production: - Optimal size changes are more likely to be reviewed faster with fewer iterations. - Similarity in low PR complexity drives similar review times. - Review quality is likely higher as complexity is lower: - Bugs are more likely to be detected. - Code inconsistencies are more likely to be detected. - Knowledge sharing is improved within the participants: - Small portions can be assimilated better. - Better engineering practices are exercised: - Solving big problems by dividing them in well contained, smaller problems. - Exercising separation of concerns within the code changes. #### What can I do to optimize my changes - Use the PullRequestQuantifier to quantify your PR accurately - Create a context profile for your repo using the [context generator](https://github.com/microsoft/PullRequestQuantifier/releases) - Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the `Excluded` section from your `prquantifier.yaml` context profile. - Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your `prquantifier.yaml` context profile. - Only use the labels that matter to you, [see context specification](./docs/prquantifier-yaml.md) to customize your `prquantifier.yaml` context profile. - Change your engineering behaviors - For PRs that fall outside of the desired spectrum, review the details and check if: - Your PR could be split in smaller, self-contained PRs instead - Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR). #### How to interpret the change counts in git diff output - One line was added: `+1 -0` - One line was deleted: `+0 -1` - One line was modified: `+1 -1` (git diff doesn't know about modified, it will interpret that line like one addition plus one deletion) - Change percentiles: Change characteristics (addition, deletion, modification) of this PR in relation to all other PRs within the repository.


Was this comment helpful? :thumbsup:  :ok_hand:  :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.