Update .github/workflows/audit.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Félix MARQUET
2026-02-24 10:04:46 +01:00
committed by GitHub
parent 20cc6e0c1f
commit 85b10ce016

View File

@@ -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;
}