Skip to content

Comments

chore (workflows): Don't use redundant action#5029

Open
SoloJacobs wants to merge 1 commit intoprometheus:mainfrom
SoloJacobs:remove-golangci
Open

chore (workflows): Don't use redundant action#5029
SoloJacobs wants to merge 1 commit intoprometheus:mainfrom
SoloJacobs:remove-golangci

Conversation

@SoloJacobs
Copy link
Contributor

@SoloJacobs SoloJacobs commented Feb 21, 2026

This action has multiple flaws:

  • It is redundant, since we execute make lint in .github/workflows/ci.yml.
  • It ignores make lint: If we want to remove our build artefacts from the repository, then we can't run golangci-lint without first creating the artefacts.
  • It contains redundant logic, specific to other projects, and refers to it being synced from https://github.com/prometheus/prometheus (which is false. prometheus does not even use this action anymore).

Pull Request Checklist

Please check all the applicable boxes.

  • Please list all open issue(s) discussed with maintainers related to this change
    • Fixes #
  • Is this a new Receiver integration?
  • Is this a bugfix?
    • I have added tests that can reproduce the bug which pass with this bugfix applied
  • Is this a new feature?
    • I have added tests that test the new feature's functionality
  • Does this change affect performance?
    • I have provided benchmarks comparison that shows performance is improved or is not degraded
      • You can use benchstat to compare benchmarks
    • I have added new benchmarks if required or requested by maintainers
  • Is this a breaking change?
    • My changes do not break the existing cluster messages
    • My changes do not break the existing api
  • I have added/updated the required documentation
  • I have signed-off my commits
  • I will follow best practices for contributing to this project

Which user-facing changes does this PR introduce?


@SoloJacobs SoloJacobs marked this pull request as ready for review February 21, 2026 18:18
@SoloJacobs SoloJacobs closed this Feb 21, 2026
@SoloJacobs SoloJacobs reopened this Feb 21, 2026
This action has multiple flaws:

* It is redundant, since we execute `make lint` in
`.github/workflows/ci.yml`.
* It ignores `make lint`: If we want to remove our build artefacts from
the repository, then we can't run `golangci-lint` without first creating
the artefacts.
* It contains redundant logic, specific to other projects, and refers to
it being synced from https://github.com/prometheus/prometheus (which is
false. `prometheus` does not even use this action anymore).

Signed-off-by: Solomon Jacobs <solomonjacobs@protonmail.com>
@SoloJacobs SoloJacobs mentioned this pull request Feb 22, 2026
2 tasks
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.

3 participants