Skip to content

Add write permission to release-project-in-dir workflow - #3410

Closed
xstefank wants to merge 1 commit into
operator-framework:mainfrom
xstefank:content-permision-for-push
Closed

Add write permission to release-project-in-dir workflow#3410
xstefank wants to merge 1 commit into
operator-framework:mainfrom
xstefank:content-permision-for-push

Conversation

@xstefank

Copy link
Copy Markdown
Collaborator

Signed-off-by: xstefank <xstefank122@gmail.com>
Copilot AI review requested due to automatic review settings June 10, 2026 08:22
@openshift-ci
openshift-ci Bot requested review from csviri and metacosm June 10, 2026 08:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to fix failures in the reusable release-project-in-dir GitHub Actions workflow by granting the update-working-version job write access to repository contents.

Changes:

  • Add permissions: contents: write to the update-working-version job in .github/workflows/release-project-in-dir.yml.

Comment on lines +56 to +57
permissions:
contents: write

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I agree with this assessment. I think the issue is the branch protection rule which prevents pushing directly to main and protected branches, not missing permissions.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

TBH, it might, but I don't see rules in this repo settings.

@xstefank

Copy link
Copy Markdown
Collaborator Author

this it not how this should be fixed.

@xstefank xstefank closed this Jun 10, 2026
@csviri

csviri commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

@metacosm feel free to remove that rule if there is no other elegant way to solve this.
Best I can think of that the bot creates the PR atm with this rule

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.

4 participants