1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-22 22:24:43 +02:00

Changed build_icons.yml to trigger on label added and create new pr

This commit is contained in:
Thomas Bui
2020-09-30 13:53:20 -07:00
parent 1973e3f3be
commit 32065ae96f

View File

@@ -1,13 +1,10 @@
name: Build Icons name: Build Icons
on: on:
pull_request: label:
branches: type: [created,edited]
- master
push:
branches:
- master
jobs: jobs:
build: build:
if: github.event.label.name == 'bot: build'
name: Get Fonts From Icomoon name: Get Fonts From Icomoon
runs-on: windows-2019 runs-on: windows-2019
steps: steps:
@@ -33,10 +30,12 @@ jobs:
with: with:
name: geckodriver-log name: geckodriver-log
path: ./geckodriver.log path: ./geckodriver.log
- name: Running gulp default task for building devicon.min.css - name: Running npm task for building devicon.min.css
run: | run: npm run build-css
gulp default - name: Create new branch and push it
- name: Commit changes uses: technote-space/create-pr-action@v2
uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: Build new icons, icomoon.json and devicon.css COMMIT_MESSAGE: "Built new icons, icomoon.json and devicon.css"
PR_BRANCH_PREFIX: "build/feature/"
PR_BRANCH_NAME: "test-123"
PR_TITLE: "Built new icons, icomoon.json and devicon.css"