blob: f197c165b4abeb192e5cad593fd7f4e7b68b63dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
name: Triage YouTube issues
on:
issues:
types: opened
jobs:
check-if-youtube:
name: Close as duplicate
runs-on: ubuntu-latest
if: startsWith(github.event.issue.title, 'youtube.com:') || startsWith(github.event.issue.title, 'music.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
|