1
0
mirror of https://github.com/konpa/devicon.git synced 2025-09-01 02:22:19 +02:00

New Feature: Add an Issue in-develop labeler and functions to close these issues (#990)

* 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>
This commit is contained in:
Thomas Bui
2022-01-28 10:58:30 -08:00
committed by GitHub
parent 7b06adf362
commit 824cc7d59c
6 changed files with 151 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >
python ./.github/scripts/icomoon_build.py
./.github/scripts/build_assets/geckodriver-v0.29.1-win64/geckodriver.exe ./icomoon.json
./.github/scripts/build_assets/geckodriver-v0.30.0-win64/geckodriver.exe ./icomoon.json
./devicon.json ./icons ./ %GITHUB_TOKEN% --headless
- name: Upload geckodriver.log for debugging purposes

View File

@@ -0,0 +1,27 @@
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"