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

Bump rubocop-govuk from 4.12.0 to 4.13.0 #870

Merged
merged 3 commits into from
Dec 29, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 21, 2023

Bumps rubocop-govuk from 4.12.0 to 4.13.0.

Changelog

Sourced from rubocop-govuk's changelog.

4.13.0

  • Update rubocop to 1.59.0
  • Update rubocop-ast to 1.30.0
  • Update rubocop-rails to 2.23.0
  • Update rubocop-rspec to 2.25.0
Commits
  • 51e44ae Merge pull request #338 from alphagov/bump-version
  • 2bf3ab8 Bump to 4.13.0
  • 52de757 Merge pull request #337 from alphagov/dependabot/bundler/rubocop-rails-eq-2.23.0
  • 96b74af Update rubocop-rails requirement from = 2.22.2 to = 2.23.0
  • 49bf3f3 Merge pull request #336 from alphagov/dependabot/bundler/rubocop-eq-1.59.0
  • 210aac4 Update rubocop requirement from = 1.58.0 to = 1.59.0
  • bdfbeef Merge pull request #335 from alphagov/dependabot/bundler/rubocop-eq-1.58.0
  • 3e7dd46 Update rubocop requirement from = 1.57.2 to = 1.58.0
  • c9cf9ee Merge pull request #334 from alphagov/add-sca-sast-scans
  • ad93f12 Add CodeQL (SAST) scan and Dependency Review (SCA) scan to CI pipeline
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Copy link

⚠️ This repo is Continuously Deployed: make sure you follow the guidance

Follow these steps if you are doing a Rails upgrade.

Copy link
Contributor

@govuk-ci govuk-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been scanned and automatically approved by govuk-dependabot-merger.

Copy link
Contributor

@ChrisBAshton ChrisBAshton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been scanned and automatically approved by govuk-dependabot-merger

It shouldn't have. Now fixed in alphagov/govuk-dependabot-merger#30

ChrisBAshton added a commit to alphagov/govuk-dependabot-merger that referenced this pull request Dec 27, 2023
For a long time, GOV.UK had a convention whereby repositories had
to specify a status check called 'test', which should be the name
of the CI job that runs a repo's tests, linter, and so on.
These would all run under the 'test' job, usually via something
like `bundle exec rake`.

In January 2023, a [new convention](alphagov/content-data-admin@89a888b)
was established, whereby there would now be an overall workflow
called 'CI'. Within this workflow, there would be several individual
jobs, each with their own responsibility (e.g. 'test-ruby' for
running tests, 'lint-ruby' for running the linter, and so on).

We should therefore no longer look for a 'test' job: the modern
equivalent is to check for the 'CI' workflow, and to validate
that every job within the CI workflow passes.

Note that as a [stopgap](#21),
we temporarily stopped looking for a 'test' job and switched to
looking for a 'test-ruby' job instead. This is suboptimal as it
only checks for the outcome of the unit tests, and doesn't
consider other checks such as the linter, so it will incorrectly
[try and fail to approve and merge](alphagov/support-api#870 (review))
PRs whose unit tests pass but where there is another check failing.
ChrisBAshton added a commit to alphagov/govuk-dependabot-merger that referenced this pull request Dec 27, 2023
For a long time, GOV.UK had a convention whereby repositories had
to specify a status check called 'test', which should be the name
of the CI job that runs a repo's tests, linter, and so on.
These would all run under the 'test' job, usually via something
like `bundle exec rake`.

In January 2023, a [new convention](alphagov/content-data-admin@89a888b)
was established, whereby there would now be an overall workflow
called 'CI'. Within this workflow, there would be several individual
jobs, each with their own responsibility (e.g. 'test-ruby' for
running tests, 'lint-ruby' for running the linter, and so on).

We should therefore no longer look for a 'test' job: the modern
equivalent is to check for the 'CI' workflow, and to validate
that every job within the CI workflow passes.

Note that as a [stopgap](#21),
we temporarily stopped looking for a 'test' job and switched to
looking for a 'test-ruby' job instead. This is suboptimal as it
only checks for the outcome of the unit tests, and doesn't
consider other checks such as the linter, so it will incorrectly
[try and fail to approve and merge](alphagov/support-api#870 (review))
PRs whose unit tests pass but where there is another check failing.
@AgaDufrat AgaDufrat force-pushed the dependabot/bundler/rubocop-govuk-4.13.0 branch 7 times, most recently from 863d48f to 4f43247 Compare December 28, 2023 12:06
dependabot bot and others added 3 commits December 29, 2023 10:42
Bumps [rubocop-govuk](https://github.com/alphagov/rubocop-govuk) from 4.12.0 to 4.13.0.
- [Changelog](https://github.com/alphagov/rubocop-govuk/blob/main/CHANGELOG.md)
- [Commits](alphagov/rubocop-govuk@v4.12.0...v4.13.0)

---
updated-dependencies:
- dependency-name: rubocop-govuk
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@ChrisBAshton ChrisBAshton force-pushed the dependabot/bundler/rubocop-govuk-4.13.0 branch from 4f43247 to dafdfd0 Compare December 29, 2023 10:42
@ChrisBAshton ChrisBAshton merged commit 06592f9 into main Dec 29, 2023
9 checks passed
@ChrisBAshton ChrisBAshton deleted the dependabot/bundler/rubocop-govuk-4.13.0 branch December 29, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants