duplicate 2.0.1

Provides macros for duplication of code with variable substitution.
Documentation
name: Triage Issue

# Ensures that all opened issues are initially given the 'T-new' label
# unless one of the other triage labels is present.

on:
  issues:
    types: opened
    
jobs:
  add_label:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-ecosystem/action-add-labels@v1
        if: ${{ 
          !contains(github.event.issue.labels.*.name, 'T-accepted') &&
          !contains(github.event.issue.labels.*.name, 'T-rejected') }}
        with:
          labels: T-new