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

fix: moving the golangci-lint condition because it has matrix strategy #2242

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

leoporoli
Copy link
Contributor

@leoporoli leoporoli commented Feb 29, 2024

Description:

moving the golangci-lint condition because it has matrix strategy

We have to move the condition to the steps section otherwise these jobs won't be executed when a doc's PR is created.

Is this change user facing?

NO

References (if applicable):

@leoporoli leoporoli requested a review from h4ck3rk3y March 1, 2024 10:48
@h4ck3rk3y
Copy link
Contributor

@leoporoli i think it being on the top section is okay; we don't want the linter to run if its only a docs change

@leoporoli
Copy link
Contributor Author

@leoporoli i think it being on the top section is okay; we don't want the linter to run if its only a docs change

@h4ck3rk3y it doesn't work if we don't move it, you can see this example PR> #2222

It doesn't find all the golang-lint jobs because the matrix is not generated, and the branch protection rule is waiting for all of them, so we have to run them, but with the condition in all the steps they will run fast

@leoporoli leoporoli enabled auto-merge March 1, 2024 11:07
@leoporoli leoporoli added this pull request to the merge queue Mar 1, 2024
Merged via the queue into main with commit f976daa Mar 1, 2024
52 checks passed
@leoporoli leoporoli deleted the lporoli/golint-job-move-condition branch March 1, 2024 11:47
github-merge-queue bot pushed a commit that referenced this pull request Mar 6, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.88.1](0.88.0...0.88.1)
(2024-03-05)


### Features

* allow users to set descriptions
([#2239](#2239))
([473d0ee](473d0ee))


### Bug Fixes

* Add retries around the test enclave destroy logic
([#2255](#2255))
([6245ddf](6245ddf))
* CI failing due deprecated images
([#2253](#2253))
([742e40b](742e40b))
* moving the golangci-lint condition because it has matrix strategy
([#2242](#2242))
([f976daa](f976daa))
* rename utils to path compression
([#2236](#2236))
([d28fdc9](d28fdc9))
* typos ([#2066](#2066))
([1b6aff7](1b6aff7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <[email protected]>
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.

2 participants