Skip to content

chore: Updating workflow permissions for bump-version#209

Merged
gazarenkov merged 1 commit intoredhat-developer:mainfrom
OpinionatedHeron:update-permissions
Aug 7, 2025
Merged

chore: Updating workflow permissions for bump-version#209
gazarenkov merged 1 commit intoredhat-developer:mainfrom
OpinionatedHeron:update-permissions

Conversation

@OpinionatedHeron
Copy link
Copy Markdown
Member

@OpinionatedHeron OpinionatedHeron commented Aug 7, 2025

Description of the change

Which issue(s) does this PR fix or relate to

RHDHBUGS-1930

How to test changes / Special notes to the reviewer

Checklist

  • For each Chart updated, version bumped in the corresponding Chart.yaml according to Semantic Versioning.
  • For each Chart updated, variables are documented in the values.yaml and added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Use pre-commit run -a to apply changes. The pre-commit Workflow will do this automatically for you if needed.
  • JSON Schema template updated and re-generated the raw schema via the pre-commit hook.
  • Tests pass using the Chart Testing tool and the ct lint command.
  • If you updated the orchestrator-infra chart, make sure the versions of the Knative CRDs are aligned with the versions of the CRDs installed by the OpenShift Serverless operators declared in the values.yaml file. See Installing Knative Eventing and Knative Serving CRDs for more details.

Summary by Sourcery

CI:

  • Grant write permission for pull-requests in the bump-version GitHub Actions workflow

Signed-off-by: Leanne Ahern <lahern@redhat.com>
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Aug 7, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates the GitHub Actions workflow permissions for the bump-version pipeline by granting write access to pull-requests, enabling workflow steps to manage pull requests programmatically.

File-Level Changes

Change Details Files
Grant write permission to pull-requests in the workflow
  • Added pull-requests: write under the jobs permissions block
.github/workflows/bump-version.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Aug 7, 2025

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey @OpinionatedHeron - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@gazarenkov gazarenkov merged commit aa57eac into redhat-developer:main Aug 7, 2025
7 of 8 checks passed
@OpinionatedHeron OpinionatedHeron deleted the update-permissions branch August 20, 2025 09:27
elai-shalev pushed a commit to elai-shalev/rhdh-chart that referenced this pull request Aug 25, 2025
Signed-off-by: Leanne Ahern <lahern@redhat.com>
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.

2 participants