diff --git a/.github/autolabeler-config.json b/.github/autolabeler-config.json index f071411a5..88d9d64c4 100644 --- a/.github/autolabeler-config.json +++ b/.github/autolabeler-config.json @@ -8,7 +8,12 @@ "turnkey/**", "vm/**" ], - "excludeGlobs": [] + "excludeGlobs": [ + "**/headers/**", + "ct/headers/**", + "tools/headers/**", + "vm/headers/**" + ] } ], "update script": [ @@ -41,7 +46,12 @@ "includeGlobs": [ "vm/**" ], - "excludeGlobs": [] + "excludeGlobs": [ + "**/headers/**", + "ct/headers/**", + "tools/headers/**", + "vm/headers/**" + ] } ], "tools": [ diff --git a/.github/workflows/close-new-script-prs.yml b/.github/workflows/close-new-script-prs.yml index 9ac26151b..acae8f577 100644 --- a/.github/workflows/close-new-script-prs.yml +++ b/.github/workflows/close-new-script-prs.yml @@ -28,6 +28,7 @@ jobs: const allowedBots = [ "push-app-to-main[bot]", "push-app-to-main", + "community-scripts-pr-app[bot]", "community-scripts-pr-app" ]; @@ -62,7 +63,9 @@ jobs: per_page: 100, }); hasAddedScriptFile = files.some( - f => f.status === "added" && scriptPrefixes.some(p => f.filename.startsWith(p)) + f => f.status === "added" && + !f.filename.includes("/headers/") && + scriptPrefixes.some(p => f.filename.startsWith(p)) ); } catch (error) { core.warning(`Could not list files for PR #${prNumber}: ${error.message}`);