diff --git a/.github/workflows/add-label-customer-submission.yaml b/.github/workflows/add-label-customer-submission.yaml deleted file mode 100644 index f9dd8e8..0000000 --- a/.github/workflows/add-label-customer-submission.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: add-label-customer-submission.yaml -on: - issues: - types: - - opened -env: - MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }} - CREATOR: ${{ github.actor }} -jobs: - automate-issues-labels: - name: Add customer-submission label to issue - runs-on: ubuntu-latest - steps: - - name: Add customer-submission label - env: - BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} - if: ${{ env.BOOL == 'false' }} - uses: andymckay/labeler@1.0.4 - with: - add-labels: "customer-submission" diff --git a/.github/workflows/add-label-triage.yaml b/.github/workflows/add-label-triage.yaml deleted file mode 100644 index fc32b8c..0000000 --- a/.github/workflows/add-label-triage.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: add-label-triage.yaml -on: - issues: - types: - - reopened - - opened -jobs: - automate-issues-labels: - name: Add triage label to issue - runs-on: ubuntu-latest - steps: - - name: Add triage label - uses: andymckay/labeler@1.0.4 - with: - add-labels: "triage" diff --git a/.github/workflows/add-labels-standardized.yaml b/.github/workflows/add-labels-standardized.yaml new file mode 100644 index 0000000..c20a712 --- /dev/null +++ b/.github/workflows/add-labels-standardized.yaml @@ -0,0 +1,16 @@ +name: 'add labels standardized' + +on: + issues: + types: + - opened + - reopened + +jobs: + add-issue-labels: + permissions: + issues: write + secrets: + ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} + SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }} + uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v1