This repository was archived by the owner on Jul 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +73
-1
lines changed Expand file tree Collapse file tree 3 files changed +73
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Auto Update
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *'
6+
7+ defaults :
8+ run :
9+ shell : bash
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v2
18+ with :
19+ ssh-key : ${{ secrets.SSH_PRIVATE_KEY }}
20+
21+ - name : Setup PHP
22+ uses : shivammathur/setup-php@v2
23+ with :
24+ coverage : ' none'
25+ extensions : ' json,xml,xsl'
26+ ini-values : ' memory_limit=-1'
27+ php-version : ' 8.0'
28+ tools : pecl
29+
30+ - name : Display versions
31+ run : |
32+ php -r 'foreach (get_loaded_extensions() as $extension) echo $extension . " " . phpversion($extension) . PHP_EOL;'
33+ php -i
34+
35+ - name : Validate composer.json
36+ run : composer validate --strict
37+
38+ - name : Cache Composer packages
39+ id : composer-cache
40+ uses : actions/cache@v2
41+ with :
42+ path : vendor
43+ key : 8.0-composer-${{ hashFiles('**/composer.lock') }}
44+ restore-keys : |
45+ 8.0-composer-
46+
47+ - name : Install dependencies
48+ run : composer install --prefer-dist --no-progress
49+
50+ - name : Build files
51+ run : composer run-script build
52+
53+ - name : Create Pull Request
54+ uses : peter-evans/create-pull-request@v3
55+ with :
56+ commit-message : Update resources from Feather icons
57+ branch : automated/feather-update
58+ delete-branch : true
59+ title : ' [AUTO] Feather Update'
60+ body : |
61+ Updated resources built based on Feather Icons.
62+ labels : automated pr
63+ assignees : |
64+ Pixelrobin
65+ natewiebe13
66+
67+ - name : Check outputs
68+ run : |
69+ echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
70+ echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env php
12<?php
23
34function getSvgAttributes (string $ svg ): array
Original file line number Diff line number Diff line change 3939 "ext-libxml" : " *" ,
4040 "ext-simplexml" : " *" ,
4141 "phpunit/phpunit" : " ^9.5" ,
42- "npm-asset/feather-icons" : " 4.26.0 "
42+ "npm-asset/feather-icons" : " >=4.28 "
4343 },
4444 "scripts" : {
45+ "build" : " bin/build" ,
4546 "test" : " phpunit --verbose tests"
4647 }
4748}
You can’t perform that action at this time.
0 commit comments