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:
2
.github/workflows/build_icons.yml
vendored
2
.github/workflows/build_icons.yml
vendored
@@ -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
|
||||
|
27
.github/workflows/in_develop_labeler.yml
vendored
Normal file
27
.github/workflows/in_develop_labeler.yml
vendored
Normal 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"
|
Reference in New Issue
Block a user