1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-23 07:07:30 +00:00
BarInsta/.github/workflows/label-duplicates.yml

19 lines
444 B
YAML
Raw Normal View History

2021-03-25 18:38:44 +00:00
name: Label duplicates
on:
issue_comment:
types: [created]
jobs:
add-labels:
runs-on: ubuntu-latest
2021-03-25 18:42:21 +00:00
if: contains(github.event.comment.body, 'Duplicate of') == true
2021-03-25 18:38:44 +00:00
steps:
- name: Add labels
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'add-labels'
token: ${{ secrets.GITHUB_TOKEN }}
2021-03-25 18:42:21 +00:00
issue-number: ${{ github.event.issue.number }}
2021-03-25 18:38:44 +00:00
labels: 'duplicate'