mirror of
https://github.com/konpa/devicon.git
synced 2025-02-24 01:02:22 +01:00
28 lines
740 B
YAML
28 lines
740 B
YAML
|
name: Label Issue In Develop
|
||
|
on:
|
||
|
pull_request:
|
||
|
types: [closed]
|
||
|
jobs:
|
||
|
label:
|
||
|
name: Label Issue In Develop
|
||
|
runs-on: ubuntu-18.04
|
||
|
if: github.event.pull_request.merged == true
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Setup Python v3.8
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: 3.8
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install -r ./.github/scripts/requirements.txt
|
||
|
|
||
|
- name: Run in_develop_labeler.py
|
||
|
env:
|
||
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
BODY: ${{ github.event.pull_request.body }}
|
||
|
run: python ./.github/scripts/in_develop_labeler.py $TOKEN "$BODY"
|