fix: update workflows for better automation (#14809)

This commit is contained in:
Ryan Vogel
2026-02-23 16:51:29 -05:00
committed by GitHub
parent 8f2d8dd47a
commit 24c63914bf
2 changed files with 15 additions and 6 deletions

View File

@@ -65,6 +65,15 @@ jobs:
body: closeMessage,
});
try {
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: item.number,
name: 'needs:compliance',
});
} catch (e) {}
if (isPR) {
await github.rest.pulls.update({
owner: context.repo.owner,