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 a check for Security Approved for contributions #37329

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

amshamah419
Copy link
Contributor

@amshamah419 amshamah419 commented Nov 20, 2024

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-12235

Description

If a contributor has opened a PR which requires the Security team to review it, then the merge should be blocked until they have reviewed the PR. This check will block a merge only if the PR is from a contribution and only if the "Security Review" label has been added.

Must have

  • Tests
  • Documentation

@amshamah419 amshamah419 added Security Approved If a contribution has been approved for merge by the security team, then this will allow a merge docs-approved labels Nov 20, 2024
@amshamah419 amshamah419 self-assigned this Nov 20, 2024
Copy link
Contributor

@RotemAmit RotemAmit left a comment

Choose a reason for hiding this comment

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

Great idea! Thank you very much!
Just some small changes.

.github/workflows/security-label-check.yml Outdated Show resolved Hide resolved
.github/workflows/security-label-check.yml Show resolved Hide resolved
@amshamah419
Copy link
Contributor Author

Here's the testing PR - #37337

Copy link
Contributor

@RotemAmit RotemAmit left a comment

Choose a reason for hiding this comment

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

Good job on the PR and the catch!

@amshamah419 amshamah419 merged commit e4c9305 into master Nov 21, 2024
17 checks passed
@amshamah419 amshamah419 deleted the add-sec-label-check branch November 21, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-approved Security Approved If a contribution has been approved for merge by the security team, then this will allow a merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants