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 diff --git a/.github/workflows/add-triage-label.yaml b/.github/workflows/add-triage-label.yaml deleted file mode 100644 index 3153dde..0000000 --- a/.github/workflows/add-triage-label.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# Based on -# - https://docs.github.com/en/actions/guides/adding-labels-to-issues -# - https://github.com/andymckay/labeler - -name: add-triage-label.yaml -on: - issues: - types: - - reopened - - opened -jobs: - automate-issues-labels: - name: Add triage label to issue - runs-on: ubuntu-latest - steps: - - name: initial labeling - uses: andymckay/labeler@1.0.4 - with: - add-labels: "triage" diff --git a/.github/workflows/identify-customer.yaml b/.github/workflows/identify-customer.yaml deleted file mode 100644 index d8dcac2..0000000 --- a/.github/workflows/identify-customer.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: identify-customer.yaml -on: - issues: - types: - - opened -env: - GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} - MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }} - CREATOR: ${{ github.actor }} -jobs: - automate-issues-labels: - name: Add customer-submission label - runs-on: ubuntu-latest - steps: - - name: initial labeling - env: - BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} - if: ${{ env.BOOL == 'false' }} - uses: andymckay/labeler@1.0.4 - with: - add-labels: "customer-submission"