This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Dependency Dashboard #493
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: "duplicate issue" | |
on: [issues] | |
jobs: | |
flag: | |
if: (github.event.action == 'opened' || github.event.action == 'edited') && github.event.issue.title == 'Extension causes high cpu load' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Comment and close as duplicate | |
run: | | |
gh issue comment "$NUMBER" --body "Duplicate of #443" | |
gh issue close "$NUMBER" | |
env: | |
NUMBER: ${{github.event.issue.number}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |