concept(mafia): Modular item system #587
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
name: Close duplicate issues | |
on: [issues] | |
jobs: | |
example: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: spyder-ide/action-close-duplicate-issues@master | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
items: >- | |
[ | |
{ | |
"pattern": "ValueError: cannot set WRITEABLE flag to True of this array", | |
"reply": "To fix this problem please update to Spyder 4.<br><br>Closing as duplicate of Issue #1", | |
"labels": ["resolution:Duplicate"], | |
"close": true | |
}, | |
{ | |
"pattern": "ValueError: Some other error", | |
"reply": "To fix this problem please update to Spyder 4.", | |
"labels": ["resolution:Duplicate"], | |
"close": false | |
} | |
] |