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 PR blacklist #32

Merged
merged 2 commits into from
Aug 24, 2023
Merged

Add PR blacklist #32

merged 2 commits into from
Aug 24, 2023

Conversation

simahawk
Copy link
Contributor

You can now blacklist PR directly when you know some of them do not need any porting.
This could make you save a lot of time by skipping useless analysis and false positives.

Copy link
Collaborator

@sebalix sebalix left a comment

Choose a reason for hiding this comment

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

LG

pr_numbers = [x.strip() for x in prs.split(",") if x.strip()]

# TODO: we assume you are in the right repo folder when you run this
repo = git.Repo(os.getcwd())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can be written git.Repo() (defaults to the current folder already)

@simahawk simahawk merged commit 4855bc6 into main Aug 24, 2023
10 checks passed
@OCA-git-bot OCA-git-bot deleted the add-pr-blacklist branch August 24, 2023 10:39
@sebalix sebalix added this to the 0.14 milestone Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants