Handle exception in needs parens with optional chaining #13496
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: Mark Issue Duplicate | |
on: | |
issue_comment: | |
types: | |
- created | |
permissions: | |
issues: write | |
jobs: | |
mark-duplicate: | |
runs-on: ubuntu-latest | |
if: ${{ !github.event.issue.pull_request && startsWith(github.event.comment.body, 'Duplicate of ') }} | |
steps: | |
- uses: actions-cool/[email protected] | |
with: | |
actions: "mark-duplicate" | |
token: ${{ secrets.GITHUB_TOKEN }} | |
duplicate-labels: "type:duplicate" | |
close-issue: true |