ResInsight/.github/workflows/close-label.yml

21 lines
489 B
YAML
Raw Normal View History

2023-03-22 01:46:30 -05:00
name: Set label 'PendingRelease' on closed issues
on:
issues:
types:
- closed
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v7
2023-03-22 01:46:30 -05:00
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["PendingRelease"]
})