Skip to content

Commit 4fa8d3b

Browse files
committed
repo maintenance
1 parent 92ad1a7 commit 4fa8d3b

File tree

4 files changed

+268
-469
lines changed

4 files changed

+268
-469
lines changed

.github/workflows/plugin-checks-request.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,23 @@ jobs:
4747
comment_id: ${{ github.event.comment.id }},
4848
content: 'eyes'
4949
});
50+
- name: Remove awaiting-final-review label
51+
if: steps.should-run.outputs.run == 'true' && github.event_name == 'issue_comment'
52+
uses: actions/github-script@v8
53+
with:
54+
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
script: |
56+
try {
57+
await github.rest.issues.removeLabel({
58+
owner: context.repo.owner,
59+
repo: context.repo.repo,
60+
issue_number: context.issue.number,
61+
name: 'awaiting-final-review'
62+
});
63+
console.log('Removed awaiting-final-review label');
64+
} catch (error) {
65+
console.log('Label awaiting-final-review not found or already removed');
66+
}
5067
- name: Install Dependencies & Build
5168
if: steps.should-run.outputs.run == 'true'
5269
run: npm install && npm run plugin-checks:build

0 commit comments

Comments
 (0)