Skip to content

Commit

Permalink
Ignore PRs not Merged to Main (kyma-project#671)
Browse files Browse the repository at this point in the history
Ignore PRs not Merged to Dev
  • Loading branch information
ralikio authored and ukff committed May 9, 2024
1 parent 3acd638 commit 5c500f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/python/release_label_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

prs_since_last_release = [
pr for pr in all_closed_prs
if pr['merged_at'] is not None and pr['merged_at'] > latest_release_date
if pr['base']['ref'] == 'main' and pr['merged_at'] is not None and pr['merged_at'] > latest_release_date
]

valid_prs = []
Expand Down

0 comments on commit 5c500f0

Please sign in to comment.