mirror of
https://github.com/iv-org/documentation.git
synced 2024-10-01 01:35:51 -04: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'
|
||
|
});
|