Skip to content

chore: Add CI script #12

chore: Add CI script

chore: Add CI script #12

Workflow file for this run

name: Uni Issue & PR Labeler
on:
issues:
types: [ opened ]
pull_request:
permissions:
contents: read
issues: write
checks: write
pull-requests: write
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: View PR author
run: echo "This PR is opened by ${{ github.actor }} ."
- name: View PR commit
run: echo "This PR is opened by ${{ github.event.head_commit.message }} ."
- name: add label jinsu
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.actor, 'jinsu4755') }}
with:
labels: 진수🦂
- name: add label 2zerozu
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.actor, '2zerozu') }}
with:
labels: 영주🐼
- name: add label jiyeoon00
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.actor, 'jiyeoon00') }}
with:
labels: 지연🐰
- name: add label feature
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.head_commit.message, 'feat') }}
with:
labels: Feature
- name: add label bug
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.head_commit.message, 'fix') }}
with:
labels: Bug
- name: add label chore
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.head_commit.message, 'chore') }}
with:
labels: Chore
- name: add label docs
uses: actions-ecosystem/action-add-labels@v1
if: ${{ startsWith(github.event.head_commit.message, 'docs') }}
with:
labels: Document