1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-08 07:57:28 +00:00

Update label-duplicates.yml

This commit is contained in:
Austin Huang 2021-03-25 14:42:21 -04:00 committed by GitHub
parent 1289b788a9
commit 2e6aab041a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,12 @@ on:
jobs:
add-labels:
runs-on: ubuntu-latest
if: contains(github.event.issue.body, 'Duplicate of') == true
if: contains(github.event.comment.body, 'Duplicate of') == true
steps:
- name: Add labels
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'add-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.comment.body }}
issue-number: ${{ github.event.issue.number }}
labels: 'duplicate'