APIM 4.4.0 post release artifact creation #2581
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / .github/workflows/resolution_label_notifier.ymlInvalid workflow file
|
||
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 /> - **Resolution/Answered** - Issue is answered.<br /> - **Resolution/Cannot Reproduce** - Issue cannot be reproduced.<br /> - **Resolution/Done** - Issue is done.<br /> - **Resolution/Duplicate** - Issue is already reported before.<br /> - **Resolution/Fixed** - Issue is fixed.<br /> - **Resolution/Invalid** - Issue is invalid.<br /> - **Resolution/Not a bug** - Issue is not a bug.<br /> - **Resolution/Postponed** - Issue is postponed.<br /> - **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 }} |