Skip to content

Subscription Approval capability from the Publisher portal. #2370

Subscription Approval capability from the Publisher portal.

Subscription Approval capability from the Publisher portal. #2370

on:
issues:
types: [closed]
jobs:
check-resolution-label:
runs-on: ubuntu-latest
permissions:
issues: write
if:
${{!(

Check failure on line 10 in .github/workflows/resolution_label_notifier.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/resolution_label_notifier.yml

Invalid workflow file

The workflow is not valid. .github/workflows/resolution_label_notifier.yml (Line: 10, Col: 7): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
contains(github.event.issue.labels.*.name, 'Resolution/Cannot Reproduce') ||
contains(github.event.issue.labels.*.name, 'Resolution/Duplicate') ||
contains(github.event.issue.labels.*.name, 'Resolution/Fixed') ||
contains(github.event.issue.labels.*.name, 'Resolution/Answered') ||
contains(github.event.issue.labels.*.name, 'Resolution/Invalid') ||
contains(github.event.issue.labels.*.name, 'Resolution/Not a bug') ||
contains(github.event.issue.labels.*.name, 'Resolution/Postponed') ||
contains(github.event.issue.labels.*.name, 'Resolution/Won’t Fix') ||
contains(github.event.issue.labels.*.name, 'Resolution/Done)
)}}
steps:
- run: gh issue comment $ISSUE --body "This issue is **NOT** closed with a proper **Resolution/** label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Answered** - Issue is answered.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Cannot Reproduce** - Issue cannot be reproduced.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Done** - Issue is done.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Duplicate** - Issue is already reported before.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Fixed** - Issue is fixed.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Invalid** - Issue is invalid.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Not a bug** - Issue is not a bug.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Postponed** - Issue is postponed.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- **Resolution/Won’t Fix** - Issue won't be fixed."
- run: gh issue reopen $ISSUE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.issue.html_url }}