Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): restore master and release CI workflow permissions. #3317

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Sep 10, 2024

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area CI

What this PR does / why we need it:

#3299 broke master CI triggering (if you see latest master commits did not trigger master CI, only codeql and scorecard).

This is an attempt to fix them.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@FedeDP
Copy link
Contributor Author

FedeDP commented Sep 10, 2024

/milestone 0.39.0

@poiana poiana added this to the 0.39.0 milestone Sep 10, 2024
Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

it would be great to understand why we cannot apply the permissions on this but I understand that we cannot have the master CI broken

/approve

@poiana
Copy link
Contributor

poiana commented Sep 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, FedeDP

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

The pull request process is described here

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

@FedeDP
Copy link
Contributor Author

FedeDP commented Sep 10, 2024

it would be great to understand why we cannot apply the permissions on this but I understand that we cannot have the master CI broken

We can actually, but we can't set smaller permissions set on the caller workflow when some called workflows (eg: reusable_publish_X workflows) require larger permissions set.

@poiana poiana merged commit a6f3105 into master Sep 10, 2024
33 checks passed
@poiana poiana deleted the fix/master_release_ci_permissions branch September 10, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants