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 early exit to add-team-to-ghsa #2829

Conversation

willhickey
Copy link

Problem

The Add Security Team to GHSAs workflow is failing because while IFS= read -r ghsa_id; do runs once even if the input is empty. The input is usually empty, since most runs won't find any new GHSAs that don't already have the team added.

Summary of Changes

Add an early exit if all the GHSAs already have the security team added.

Copy link
Member

@yihau yihau left a comment

Choose a reason for hiding this comment

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

🫡

@willhickey willhickey merged commit 7c9bbc4 into anza-xyz:master Sep 4, 2024
20 checks passed
@willhickey willhickey deleted the action_add_security_incident_response_group branch September 4, 2024 14:01
@willhickey
Copy link
Author

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.

2 participants