lintnet / go-jsonnet-native-functions

Go package porting several Go's Standard libraries functions to go-jsonnet's Native functions
MIT License
2 stars 0 forks source link

chore(deps): update dependency suzuki-shunsuke/ghalint to v0.2.12 #189

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Update Change
suzuki-shunsuke/ghalint patch v0.2.11 -> v0.2.12

Release Notes

suzuki-shunsuke/ghalint (suzuki-shunsuke/ghalint) ### [`v0.2.12`](https://togithub.com/suzuki-shunsuke/ghalint/releases/tag/v0.2.12) [Compare Source](https://togithub.com/suzuki-shunsuke/ghalint/compare/v0.2.11...v0.2.12) [Pull Requests](https://togithub.com/suzuki-shunsuke/ghalint/pulls?q=is%3Apr+milestone%3Av0.2.12) | [Issues](https://togithub.com/suzuki-shunsuke/ghalint/issues?q=is%3Aissue+milestone%3Av0.2.12) | https://github.com/suzuki-shunsuke/ghalint/compare/v0.2.11...v0.2.12 #### Features [#​488](https://togithub.com/suzuki-shunsuke/ghalint/issues/488) Add a policy `job_timeout_minutes_is_required` https://github.com/suzuki-shunsuke/ghalint/blob/main/docs/policies/012.md All jobs should set [timeout-minutes](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes). ##### Examples :x: ```yaml jobs: foo: # The job doesn't have `timeout-minutes` runs-on: ubuntu-latest steps: - run: echo hello ``` :o: ```yaml jobs: foo: runs-on: ubuntu-latest timeout-minutes: 30 steps: - run: echo hello ``` ##### Why? https://exercism.org/docs/building/github/gha-best-practices#h-set-timeouts-for-workflows > By default, GitHub Actions kills workflows after 6 hours if they have not finished by then. Many workflows don't need nearly as much time to finish, but sometimes unexpected errors occur or a job hangs until the workflow run is killed 6 hours after starting it. Therefore it's recommended to specify a shorter timeout. > > The ideal timeout depends on the individual workflow but 30 minutes is typically more than enough for the workflows used in Exercism repos. > > This has the following advantages: > > PRs won't be pending CI for half the day, issues can be caught early or workflow runs can be restarted. > The number of overall parallel builds is limited, hanging jobs will not cause issues for other PRs if they are cancelled early. ##### Exceptions 1. All steps set `timeout-minutes` ```yaml jobs: foo: # The job is missing `timeout-minutes`, but it's okay because all steps set timeout-minutes runs-on: ubuntu-latest steps: - run: echo hello timeout-minutes: 5 - run: echo bar timeout-minutes: 5 ``` 2. A job uses a reusable workflow When a reusable workflow is called with `uses`, `timeout-minutes` is not available. ```yaml jobs: foo: uses: suzuki-shunsuke/renovate-config-validator-workflow/.github/workflows/validate.yaml@v0.2.3 ```

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

renovate[bot] commented 3 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.