mirror of
https://github.com/konpa/devicon.git
synced 2025-02-24 01:02:22 +01:00
* Working on labeler * Add in_develop_labeler * Build bot can close issues based on labels * Test mode for build * Fixed errors in labeler_bot * Update build-bot * Update .github/scripts/icomoon_build.py Co-authored-by: David Leal <halfpacho@gmail.com> * Remove test url Co-authored-by: David Leal <halfpacho@gmail.com> Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
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"
|