Browse Source

Update label-duplicates.yml

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

4
.github/workflows/label-duplicates.yml

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