Add write permission to release-project-in-dir workflow - #3410
Closed
xstefank wants to merge 1 commit into
Closed
Conversation
Signed-off-by: xstefank <xstefank122@gmail.com>
csviri
approved these changes
Jun 10, 2026
Contributor
There was a problem hiding this comment.
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: writeto theupdate-working-versionjob in.github/workflows/release-project-in-dir.yml.
Comment on lines
+56
to
+57
| permissions: | ||
| contents: write |
Collaborator
There was a problem hiding this comment.
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.
Collaborator
Author
There was a problem hiding this comment.
TBH, it might, but I don't see rules in this repo settings.
Collaborator
Author
|
this it not how this should be fixed. |
Collaborator
|
@metacosm feel free to remove that rule if there is no other elegant way to solve this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This might fix https://github.com/operator-framework/java-operator-sdk/actions/runs/27014681537/job/79728388342#logs.