Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Github Action: Add Auto Labeler for community PR and Issues #10

Github Action: Add Auto Labeler for community PR and Issues

Github Action: Add Auto Labeler for community PR and Issues #10

name: Auto Community Labeler
on:
pull_request:
issues:
jobs:
auto_PR_labeler:
name: Auto PR Community Labeler
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER' }}
steps:
- name: Add Contributor Label
uses: actions-ecosystem/action-add-labels@v1
with:
labels: community contribution
auto_Issue_labeler:
name: Auto Issue Community Labeler
runs-on: ubuntu-latest
if: ${{ github.event_name == 'issues' && github.event.issue.author_association != 'MEMBER' && github.event.issue.author_association != 'OWNER' }}
steps:
- name: Add Contributor Label
uses: actions-ecosystem/action-add-labels@v1
with:
labels: community contribution