Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add workflow to label cherry-pick versions on Pre-Commit-CI PRs #1027

Closed

Conversation

omkarkhatavkar
Copy link

@omkarkhatavkar omkarkhatavkar commented Nov 3, 2023

Description of changes:

This pull request introduces a GitHub Actions workflow that automatically adds cherry-pick version labels to PRs created by the pre-commit-bot. The labels include supported versions, such as '6.14.z,' '6.13.z,' and '6.12.z.'

This is required because we should not miss cherrypicking cause the issue of failure later, this will provide for stabilization

Tested with:

https://github.com/omkarkhatavkar/robottelo/actions/runs/8046870508/job/21974978603?pr=217

@omkarkhatavkar omkarkhatavkar added the No-CherryPick PR doesnt need CherryPick to previous branches label Nov 3, 2023
Copy link

codecov bot commented Nov 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.03%. Comparing base (2583225) to head (6403642).
Report is 14 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1027   +/-   ##
=======================================
  Coverage   92.03%   92.03%           
=======================================
  Files           6        6           
  Lines        3052     3052           
=======================================
  Hits         2809     2809           
  Misses        243      243           

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

Copy link

github-actions bot commented Jan 9, 2024

This pull request has not been updated in the past 45 days.

@github-actions github-actions bot added Stale Stale issue or Pull Request and removed Stale Stale issue or Pull Request labels Jan 9, 2024
Copy link

This pull request has not been updated in the past 45 days.

.github/labels.yaml Outdated Show resolved Hide resolved
.github/labels.yaml Outdated Show resolved Hide resolved
.github/workflows/pre_commit.yml Outdated Show resolved Hide resolved
.github/workflows/pre_commit.yml Outdated Show resolved Hide resolved
.github/labels.yaml Outdated Show resolved Hide resolved
@github-actions github-actions bot removed the Stale Stale issue or Pull Request label Feb 27, 2024
Copy link
Member

@jyejare jyejare left a comment

Choose a reason for hiding this comment

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

ACK pending comment!

runs-on: ubuntu-latest
if: github.actor == 'pre-commit-bot'
steps:
- name: Checkout code
Copy link
Member

Choose a reason for hiding this comment

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

We dont need to checkout for this Action! Please remove it !

Copy link
Member

Choose a reason for hiding this comment

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

Ahh for labels.yaml we need it!

@omkarkhatavkar omkarkhatavkar marked this pull request as draft April 8, 2024 06:17
Copy link

This pull request has not been updated in the past 45 days.

@github-actions github-actions bot added the Stale Stale issue or Pull Request label May 24, 2024
Copy link

This pull request is now being closed after stale warnings.

@github-actions github-actions bot closed this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches Stale Stale issue or Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants