mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 05:13:02 -05:00
30 lines
846 B
YAML
30 lines
846 B
YAML
name: Add Labels
|
|
|
|
on:
|
|
pull_request:
|
|
types: [ opened ]
|
|
|
|
jobs:
|
|
add_supporters:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: add labels
|
|
uses: actions-ecosystem/action-add-labels@v1
|
|
if: ${{ contains( fromJson('[ "tomalaforge", "alcaidio" , "svenson95", "jdegand", "DeveshChau", "stillst", "wandri", "webbomj", "kabrunko-dev", "Sanjar1304"]'), github.actor ) && startsWith(github.event.pull_request.title, 'Answer') }}
|
|
with:
|
|
labels: supporter
|
|
add_answers:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: add labels
|
|
uses: actions-ecosystem/action-add-labels@v1
|
|
if: ${{ startsWith(github.event.pull_request.title, 'Answer') }}
|
|
with:
|
|
labels: answer
|