diff --git a/.github/workflows/ecosystems-label-issue copy.yml b/.github/workflows/ecosystems-label-issue copy.yml deleted file mode 100644 index f63226c003..0000000000 --- a/.github/workflows/ecosystems-label-issue copy.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Label APM Ecosystems issues -on: - issues: - types: - - reopened - - opened - - edited -jobs: - label_issues: - if: contains(github.event.issue.title, 'contrib') - runs-on: ubuntu-latest - steps: - # https://github.com/marketplace/actions/actions-ecosystem-add-labels - - name: add label - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: apm:ecosystem diff --git a/.github/workflows/ecosystems-label-pr.yml b/.github/workflows/ecosystems-label.yml similarity index 73% rename from .github/workflows/ecosystems-label-pr.yml rename to .github/workflows/ecosystems-label.yml index 36f35b5422..909c1db005 100644 --- a/.github/workflows/ecosystems-label-pr.yml +++ b/.github/workflows/ecosystems-label.yml @@ -1,5 +1,12 @@ -name: Label APM Ecosystems Pull Requests +name: Label APM Ecosystems issues on: + issues: + paths: + - "contrib/**" + types: + - reopened + - opened + - edited pull_request: paths: - "contrib/**"