mirror of
https://github.com/BreizhHardware/portfolio.git
synced 2026-03-18 21:40:29 +01:00
Update .github/workflows/audit.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/audit.yml
vendored
4
.github/workflows/audit.yml
vendored
@@ -45,7 +45,9 @@ jobs:
|
||||
labels: 'security,audit'
|
||||
});
|
||||
|
||||
if (issues.data.length > 0) {
|
||||
const openIssues = issues.data.filter(issue => !issue.pull_request);
|
||||
|
||||
if (openIssues.length > 0) {
|
||||
console.log('An open security audit issue already exists. Skipping creation.');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user