1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 06:37:30 +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: 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/issues-helper@v2.2.1 uses: actions-cool/issues-helper@v2.2.1
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'