Skip to content

feat: add golangci/golangci-lint-action - #142

Merged
assignUser merged 1 commit into
apache:mainfrom
nodece:add-golangci/golangci-lint-action
Apr 2, 2025
Merged

assignUser merged 1 commit into
apache:mainfrom
nodece:add-golangci/golangci-lint-action

Conversation

@nodece

@nodece nodece commented Apr 2, 2025 •

Copy link
Copy Markdown
Member

Request for adding a new GitHub Action to the allow list

Overview

Name of action: golangci/golangci-lint-action

URL of action:
https://github.com/golangci/golangci-lint-action
https://github.com/marketplace/actions/golangci-lint

Version to pin to (hash only):

  • 1481404843c368bc19ca9406f87d6e0fc97bdcfd -> v7.0.0
  • 55c2c1448f86e01eaae002a5a3a9624417608d84 -> v6.5.2

Permissions

None.

Related Actions

None.

Checklist

You should be able to check most of these boxes for an action to be considered for review.
Please check all boxes that currently apply:

  • The action is listed in the GitHub Actions Marketplace
  • The action is not already on the list of approved actions
  • The action has a sufficient number of contributors or has contributors within the ASF community
  • The action has a clearly defined license
  • The action is actively developed or maintained
  • The action has CI/unit tests configured

@nodece
nodece force-pushed the add-golangci/golangci-lint-action branch from 4189b6e to 866d29e Compare April 2, 2025 03:53

@assignUser assignUser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just because this has caused confusion before, enabling these SHAs will NOT allow the matching tags (i.e. @v7) to work as the regex check does not resolve tags (even though I think it should).

@assignUser
assignUser merged commit f09408e into apache:main Apr 2, 2025
@nodece
nodece deleted the add-golangci/golangci-lint-action branch April 2, 2025 07:14
@nodece

nodece commented Apr 2, 2025

Copy link
Copy Markdown
Member Author

Just because this has caused confusion before, enabling these SHAs will NOT allow the matching tags (i.e. @v7) to work as the regex check does not resolve tags (even though I think it should).

BTW, we should allow the tag, and then save the tag's sha to the sum file to verify if the release is modified when the workflow uses the actions package. I'm not sure if we support that.

@assignUser

Copy link
Copy Markdown
Member

That's not possible for us to do as all the workflow handling happens on GitHub's side before anything even runs.

@assignUser

Copy link
Copy Markdown
Member

(also the update to the allowlist may take some time to go through, but I will check with infra in this)

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