Skip to content

fix: use commit SHA instead of tags for actions#1066

Merged
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
hdp617:fix/gomod-replace
Apr 20, 2026
Merged

fix: use commit SHA instead of tags for actions#1066
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
hdp617:fix/gomod-replace

Conversation

@hdp617
Copy link
Copy Markdown
Contributor

@hdp617 hdp617 commented Apr 16, 2026

I think k8s repos started to enforce using commit SHA (which makes sense from security perspective) because the workflow is currently failing with The action actions/checkout@v4 is not allowed in kubernetes/cloud-provider-gcp because all actions must be pinned to a full-length commit SHA.

Also update dependabot to handle github actions.

I think k8s repos started to enforce using commit SHA (which makes sense from security perspective) because the workflow is currently failing with `The action actions/checkout@v4 is not allowed in kubernetes/cloud-provider-gcp because all actions must be pinned to a full-length commit SHA.`

Also update dependabot to handle github actions.
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Apr 16, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

This issue is currently awaiting triage.

If the repository mantainers determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 16, 2026
@k8s-ci-robot k8s-ci-robot requested review from cheftako and elmiko April 16, 2026 17:07
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 16, 2026
@hdp617
Copy link
Copy Markdown
Contributor Author

hdp617 commented Apr 16, 2026

/assign LogicalShark

@LogicalShark
Copy link
Copy Markdown
Contributor

LogicalShark commented Apr 16, 2026

/lgtm
/approval

@LogicalShark
Copy link
Copy Markdown
Contributor

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hdp617, LogicalShark

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [LogicalShark,hdp617]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@LogicalShark
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 20, 2026
@k8s-ci-robot k8s-ci-robot merged commit bd69ea4 into kubernetes:master Apr 20, 2026
6 of 7 checks passed
@hdp617
Copy link
Copy Markdown
Contributor Author

hdp617 commented Apr 20, 2026

/cherry-pick release-1.35

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@hdp617: #1066 failed to apply on top of branch "release-1.35":

Applying: fix: use commit SHA instead of tags for actions
Using index info to reconstruct a base tree...
M	.github/dependabot.yml
A	.github/workflows/dependabot-sync.yml
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): .github/workflows/dependabot-sync.yml deleted in HEAD and modified in fix: use commit SHA instead of tags for actions. Version fix: use commit SHA instead of tags for actions of .github/workflows/dependabot-sync.yml left in tree.
Auto-merging .github/dependabot.yml
CONFLICT (content): Merge conflict in .github/dependabot.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 fix: use commit SHA instead of tags for actions

Details

In response to this:

/cherry-pick release-1.35

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

hdp617 added a commit to hdp617/cloud-provider-gcp that referenced this pull request Apr 20, 2026
* fix: use commit SHA instead of tags for actions

I think k8s repos started to enforce using commit SHA (which makes sense from security perspective) because the workflow is currently failing with `The action actions/checkout@v4 is not allowed in kubernetes/cloud-provider-gcp because all actions must be pinned to a full-length commit SHA.`

Also update dependabot to handle github actions.

* fix: use commit SHA for actions/setup-go
k8s-ci-robot pushed a commit that referenced this pull request Apr 20, 2026
* fix: use commit SHA instead of tags for actions

I think k8s repos started to enforce using commit SHA (which makes sense from security perspective) because the workflow is currently failing with `The action actions/checkout@v4 is not allowed in kubernetes/cloud-provider-gcp because all actions must be pinned to a full-length commit SHA.`

Also update dependabot to handle github actions.

* fix: use commit SHA for actions/setup-go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants