Open-source alternative Instagram client on Android. More maintainers needed!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
611 B

  1. name: Label duplicates
  2. on:
  3. issue_comment:
  4. types: [created]
  5. jobs:
  6. add-labels:
  7. runs-on: ubuntu-latest
  8. if: contains(github.event.comment.body, 'Duplicate of') == true
  9. steps:
  10. - name: Add labels
  11. uses: actions-cool/[email protected]
  12. with:
  13. actions: 'add-labels'
  14. token: ${{ secrets.GITHUB_TOKEN }}
  15. issue-number: ${{ github.event.issue.number }}
  16. labels: 'duplicate'
  17. - name: Remove runs
  18. uses: GongT/cancel-previous-workflows@master
  19. env:
  20. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  21. DELETE: true