ci: remove automated-review label after PR review workflow (#3869)

This commit is contained in:
Ludovico Magnocavallo
2026-04-14 18:45:25 +02:00
committed by GitHub
parent 9ad27778c5
commit 11dba441f9

View File

@@ -95,3 +95,20 @@ jobs:
repo: context.repo.repo,
body: output
})
- id: remove-label
name: Remove automated-review label
if: always()
uses: actions/github-script@v7
with:
script: |
try {
await github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: 'automated-review'
});
} catch (error) {
console.log('Error removing label', error);
}