kube-rbac-proxy
kube-rbac-proxy copied to clipboard
Update outdated GitHub Actions
Updates the Actions to the latest version available. This among other things removes the warnings in the runs.
The setup-go action now accepts stable as a version to always use the latest stable version.
Also updated .golangci.yaml to remove the warnings about deprecated configuration options.
Oh, that is a cool contribution. I will take a look, but first I will take a look at the bug introduced with the last version.
/lgtm
Is there anything I need to do to get this merged?
I don't think so, just patience 😅
I was waiting for @stlaz, but he said that it is fine to merge. But there is no hurry yet as there are a couple of other PRs to merge before the next release.
@lucacome , actually I just watched a best practice in a talk at KubeCon London:
Could you pin the full commit hash of the current checkout v4 (11bd71901bbe5b1630ceea73d27597364c9af683)? It is considered more secure, than following the tag.
In context of the whole tj-actions desaster.
@ibihim I usually have the SHAs for all the Actions in all my repos, but I also add something like dependabot or renovate to keep the dependencies up to date. I feel like pinning a dependency that will never get updated again might be worse than having a major tag. What do you think?
I agree, we will need to change that :) If you have any best practices to share, you are welcome, otherwise I would make it part of the release cycle, to not only bump go deps, but also GitHubActions.
The e2e tests are failing :)
Sorry, for not approving you earlier, but once I press the "approve" button, your PR gets merged automatically once it is green.
Can you squash also the commits into one or two (e.g. one for the github action and one for the other stuff)? :smile:
I agree, we will need to change that :) If you have any best practices to share, you are welcome, otherwise I would make it part of the release cycle, to not only bump go deps, but also GitHubActions.
I would add renovate. I opened a PR a while ago with dependabot (because you can just add the file to enable it) and it was rejected tho.. 😅
By the way, I was also planning to add the build step as a GitHub Action instead of the script after this one is merged.
@lucacome,
If you don't want to continue working on this, I would take your PR over and finish the last comments.
I really like your work here
Closing in favor of https://github.com/brancz/kube-rbac-proxy/pull/395