Skip to content

chore: update draft release initiator - #4175

Merged
krishna2020 merged 3 commits into
developfrom
chore.change_draft_owner
Mar 26, 2025
Merged

krishna2020 merged 3 commits into
developfrom
chore.change_draft_owner

Conversation

@maheshkutty

@maheshkutty maheshkutty commented Mar 18, 2025 •

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

Updated the draft list and hotfix list initiators

What is the related Linear task?

Resolves INT-XXX

Please explain the objectives of your changes below

Put down any required details on the broader aspect of your changes. If there are any dependent changes, mandatorily mention them here

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

N/A

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

N/A

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change?

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

Summary by CodeRabbit

  • Chores
    • Updated automated workflows to broaden the authorized user base for initiating hotfix branches.
    • Expanded permissions for triggering new draft releases, streamlining our overall process management.

@maheshkutty
maheshkutty requested a review from a team March 18, 2025 12:36
@maheshkutty maheshkutty changed the title chore: update draft list initiator chore: update draft release initiator Mar 18, 2025
@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@codecov

codecov Bot commented Mar 18, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.06%. Comparing base (c8b9912) to head (b3e4b89).
Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4175   +/-   ##
========================================
  Coverage    91.05%   91.06%           
========================================
  Files          635      635           
  Lines        33152    33159    +7     
  Branches      7829     7826    -3     
========================================
+ Hits         30188    30195    +7     
+ Misses        2747     2716   -31     
- Partials       217      248   +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

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

Let's get rid of each member check and use something like this. We don't have to restrict to integration teams.

      - name: Check User Membership
        uses: tspascoal/get-user-teams-membership@v3
        id: checkUserMember
        with:
          username: ${{ github.actor }}
          team: 'team name which has all rudderstack members'
          GITHUB_TOKEN: ${{ secrets.PAT }}
      - name: Next Stage
        if: ${{ steps.checkUserMember.outputs.isTeamMember == 'false' }}

@krishna2020
krishna2020 force-pushed the chore.change_draft_owner branch from 99abea0 to b3e4b89 Compare March 26, 2025 07:23
@coderabbitai

coderabbitai Bot commented Mar 26, 2025 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

The pull request updates two GitHub Actions workflow files. In both workflows, the allowed user list for triggering key actions has been modified. Two new users, maheshkutty and manish339k, have been added to the conditional checks. Additionally, the hotfix branch workflow now excludes shrouti1507 and sanpj2292 from the respective actor lists. The overall structure of the conditions remains based on branch and event validations.

Changes

File(s) Change Summary
.github/workflows/create-hotfix-branch.yml
.github/workflows/draft-new-release.yml
Updated conditional checks to include maheshkutty and manish339k for both workflows. Additionally, removed shrouti1507 from the actor list and sanpj2292 from the triggering_actor list in the hotfix branch workflow.

Sequence Diagram(s)

sequenceDiagram
    participant U as User
    participant GH as GitHub Actions
    participant R as Repository

    U->>GH: Request hotfix branch creation
    GH->>GH: Check if branch is 'main' and actor in allowed list
    alt Condition met
        GH->>R: Create hotfix branch
    else Condition not met
        GH->>U: Deny branch creation
    end
Loading
sequenceDiagram
    participant U as User
    participant GH as GitHub Actions
    participant R as Repository

    U->>GH: Initiate new release draft
    GH->>GH: Verify actor eligibility based on conditions
    alt Condition met
        GH->>R: Draft new release
    else Condition not met
        GH->>U: Deny release draft initiation
    end
Loading

Suggested reviewers

  • maheshkutty

Poem

I'm a hopping rabbit, quick on my feet,
Celebrating code changes so fresh and neat!
New user paths have joined the race,
Branching and releasing with a cheerful pace.
Hoppy code trails and wins we greet! 🐇🎉


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 89c198e and b3e4b89.

📒 Files selected for processing (2)
  • .github/workflows/create-hotfix-branch.yml (1 hunks)
  • .github/workflows/draft-new-release.yml (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@krishna2020
krishna2020 merged commit 2c14b1a into develop Mar 26, 2025
@krishna2020
krishna2020 deleted the chore.change_draft_owner branch March 26, 2025 07:24
@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@sonarqubecloud

Copy link
Copy Markdown

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