Skip to content

perfstar branch creation gh action#11730

Merged
JanProvaznik merged 2 commits intomainfrom
JanProvaznik-patch-1
Apr 15, 2025
Merged

perfstar branch creation gh action#11730
JanProvaznik merged 2 commits intomainfrom
JanProvaznik-patch-1

Conversation

@JanProvaznik
Copy link
Copy Markdown
Member

@JanProvaznik JanProvaznik commented Apr 15, 2025

workflow to speed up running perfstar on a PR, creates a new perf/ prefixed branch on comment by insiders. which has the PRs changes + merged main into it.

Testing

https://github.com/JanProvaznik/actiontesting - this workflow successfully creates a new perf prefixed branch on /perfstar comment

Usage

  1. Someone (external/internal) creates a PR
  2. member of the dotnet org or collaborator see gh docs on this repo can comment /perfstar on the PR
  3. the action runs, creates a branch in the repo perf/original-pr-branch-name
  4. on this new branch prefixed with perf, the internal perfstar infrastructure runs and members of the team can look at the report

Copilot AI review requested due to automatic review settings April 15, 2025 09:35
@JanProvaznik JanProvaznik requested a review from a team as a code owner April 15, 2025 09:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@JanProvaznik JanProvaznik changed the title fast perfstar branch creation perfstar branch creation gh action Apr 15, 2025
@JanProvaznik JanProvaznik enabled auto-merge (squash) April 15, 2025 09:52
@maridematte
Copy link
Copy Markdown
Member

Could you add an example on how this works? How do you trigger it and who can trigger this branch creation?

@JanProvaznik
Copy link
Copy Markdown
Member Author

@maridematte I added usage to description

@JanProvaznik JanProvaznik merged commit b57af8f into main Apr 15, 2025
10 checks passed
@JanProvaznik JanProvaznik deleted the JanProvaznik-patch-1 branch April 15, 2025 13:16
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