mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
23 lines
541 B
YAML
23 lines
541 B
YAML
|
name: Remove instance label when closing
|
||
|
|
||
|
on:
|
||
|
issues:
|
||
|
types: [closed]
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
replycomment:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
permissions: write-all
|
||
|
steps:
|
||
|
- uses: actions/github-script@v6
|
||
|
if: contains(github.event.issue.labels.*.name, 'wait-30-days')
|
||
|
with:
|
||
|
script: |
|
||
|
await github.rest.issues.removeLabel({
|
||
|
issue_number: context.issue.number,
|
||
|
owner: context.repo.owner,
|
||
|
repo: context.repo.repo,
|
||
|
name: 'wait-30-days'
|
||
|
});
|