heye.kr: breakage #4134
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: Triage YouTube issues | |
on: | |
issues: | |
types: opened | |
jobs: | |
check-if-youtube: | |
name: Close as duplicate | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.title, 'youtube.com:') | |
permissions: | |
issues: write | |
steps: | |
- name: Add label | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'add-labels' | |
labels: 'duplicate' | |
- name: Add comment | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'create-comment' | |
body: | | |
Please respect what is asked in the issue template to not unduly burden volunteers. | |
This is a `youtube.com` issue, see <https://github.com/uBlockOrigin/uAssets/issues/20586>. | |
- name: Close issue | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'close-issue' | |
close-reason: not_planned |