fix: update workflows for better automation (#14809)
This commit is contained in:
parent
8f2d8dd47a
commit
24c63914bf
2 changed files with 15 additions and 6 deletions
9
.github/workflows/compliance-close.yml
vendored
9
.github/workflows/compliance-close.yml
vendored
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue