Skip to content

Secure monthly-release workflow - #4849

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
bexxmodd:security/monthly-release-workflow
May 14, 2026
Merged

k8s-ci-robot merged 1 commit into
kubernetes-sigs:mainfrom
bexxmodd:security/monthly-release-workflow

Conversation

@bexxmodd

Copy link
Copy Markdown
Contributor

What type of PR is this?
/kind bug

What this PR does / why we need it:
Fixes monthly release github action vulnerability by moving permissions from workflow to job level and disable credential persistence in actions/checkout.

Does this PR introduce a user-facing change?:

NONE

- Move permissions from workflow level to job level.
- Set default permissions to read-all.
- Disable credential persistence in actions/checkout.
- Use explicit token for git commands that talk to remote.

Fixes security vulnerabilities reported by artipacked and excessive-permissions.
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 14, 2026
@k8s-ci-robot
k8s-ci-robot requested review from aojea and rikatz May 14, 2026 00:54
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 14, 2026

@rikatz rikatz 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.

/lgtm
/approve
tks

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 14, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bexxmodd, rikatz

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:

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2026
@k8s-ci-robot
k8s-ci-robot merged commit 0dd5de6 into kubernetes-sigs:main May 14, 2026
20 checks passed
k8s-ci-robot pushed a commit that referenced this pull request Jun 12, 2026
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. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. 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.

3 participants