Browse Source

Create label-duplicates.yml

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
committed by GitHub
parent
commit
20619457bb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      .github/workflows/label-duplicates.yml

18
.github/workflows/label-duplicates.yml

@ -0,0 +1,18 @@
name: Label duplicates
on:
issue_comment:
types: [created]
jobs:
add-labels:
runs-on: ubuntu-latest
if: contains(github.event.issue.body, 'Duplicate of') == true
steps:
- name: Add labels
uses: actions-cool/[email protected]
with:
actions: 'add-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: 'duplicate'
Loading…
Cancel
Save