Skip to content

Commit

Permalink
workflows: automatically label ecosystems issues and PRs (#2254)
Browse files Browse the repository at this point in the history
  • Loading branch information
katiehockman authored Oct 11, 2023
1 parent ef73efb commit 7895436
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ecosystems-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Label APM Ecosystems issues
on:
issues:
types:
- reopened
- opened
- edited
pull_request:
types:
- opened
- reopened
- edited
jobs:
label_issues:
if: contains(github.event.pull_request.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

0 comments on commit 7895436

Please sign in to comment.