Skip to content

Commit 46deca1

Browse files
authored
Merge branch 'develop' into panquesito7/remove/deprecated_gitpod_config
2 parents 3e61150 + 44ec4bf commit 46deca1

288 files changed

Lines changed: 16182 additions & 14080 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
selenium==4.1.0
2-
requests==2.25.1
2+
requests==2.32.3

.github/workflows/build_icons.yml

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ jobs:
55
name: Get Fonts From Icomoon
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
9-
- uses: actions/setup-python@v4
10-
with:
11-
python-version: 3.8
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-python@v5
10+
with:
11+
python-version: '3.10'
1212

1313
- name: Install dependencies (python, pip, npm)
1414
run: |
@@ -17,89 +17,80 @@ jobs:
1717
npm install
1818
1919
- name: Executing build and create fonts via icomoon
20+
shell: bash
2021
env:
2122
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2223
run: >
23-
python ./.github/scripts/icomoon_build.py
24-
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
25-
./devicon.json ./icons ./ "$GITHUB_TOKEN" --headless
24+
python ./.github/scripts/icomoon_build.py
25+
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
26+
./devicon.json ./icons ./ $GITHUB_TOKEN --headless
2627
2728
- name: Upload geckodriver.log for debugging purposes
28-
uses: actions/upload-artifact@v2
29+
uses: actions/upload-artifact@v4
2930
if: failure()
3031
with:
3132
name: geckodriver-log
3233
path: ./geckodriver.log
3334

3435
- name: Upload log file for debugging purposes
35-
uses: actions/upload-artifact@v2
36+
uses: actions/upload-artifact@v4
3637
if: always()
3738
with:
3839
name: logfile
3940
path: ./log.txt
4041

4142
- name: Build devicon.min.css
42-
if: success()
43+
if: success()
4344
run: npm run build-css
4445

45-
- name: Upload screenshot of the newly made icons
46-
id: imgur_step
47-
uses: devicons/public-upload-to-imgur@v2.2.2
48-
if: success()
49-
with:
50-
# will have "new_icons.png" and "new_svgs.png"
51-
# in that order (cause sorted alphabetically)
52-
path: ./screenshots/*.png
53-
client_id: ${{secrets.IMGUR_CLIENT_ID}}
46+
# - name: Upload screenshot of the newly made icons
47+
# id: imgur_step
48+
# uses: devicons/public-upload-to-imgur@v2.2.2
49+
# if: success()
50+
# with:
51+
# # will have "new_icons.png" and "new_svgs.png"
52+
# # in that order (cause sorted alphabetically)
53+
# path: ./screenshots/*.png
54+
# client_id: ${{secrets.IMGUR_CLIENT_ID}}
5455

5556
- name: Get the release message from file
5657
id: release_message_step
5758
uses: juliangruber/read-file-action@v1.0.0
5859
with:
5960
# taken from icomoon_build.py's get_release_message()
60-
path: ./release_message.txt
61+
path: ./release_message.txt
6162

6263
- name: Create Pull Request
63-
if: success()
64-
uses: peter-evans/create-pull-request@v3
64+
if: success()
65+
uses: peter-evans/create-pull-request@v7
6566
env:
6667
MESSAGE: |
6768
Hello,
6869
6970
I'm Devicon's Build Bot and I just built some new font files and devicon.min.css file.
7071
71-
Here are all the **SVGs** that were uploaded (the new ones are those with highlight):
72-
73-
{0}
74-
75-
Here is what they look like as icons:
76-
77-
{1}
78-
7972
The devicon.min.css file contains:
8073
-The icon content
8174
-The aliases
8275
-The colored classes
8376
8477
I also compiled a list of new features and icons that were added since last release.
8578
```
86-
{2}
79+
{0}
8780
```
8881
8982
More information can be found in the GitHub Action logs for this workflow.
9083
91-
Adios,
84+
Adios,
9285
Build Bot :sunglasses:
9386
with:
9487
branch: 'bot/build-result'
9588
commit-message: 'Built new icons, icomoon.json and devicon.css'
9689
title: 'bot:build new icons, icomoon.json and devicon.css'
9790
body: >
98-
${{
91+
${{
9992
format(
10093
env.MESSAGE,
101-
fromJSON(steps.imgur_step.outputs.markdown_urls)[1],
102-
fromJSON(steps.imgur_step.outputs.markdown_urls)[0],
10394
steps.release_message_step.outputs.content
10495
)
10596
}}

.github/workflows/check_icon_pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ jobs:
66
runs-on: ubuntu-latest
77
if: startsWith(github.event.pull_request.title, 'new icon') || startsWith(github.event.pull_request.title, 'update icon') # only checks icon PR
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010

1111
- name: Check if PR is develop
1212
if: ${{ github.base_ref != 'develop' }}
1313
run: |
1414
echo -e "The PR's base branch is \`${{ github.base_ref }}\`, but should be \`develop\`\nPlease change the PR so that it's based on, and merged into \`develop\`" > ./err_messages.txt
1515
echo "wrong_branch=true" >> $GITHUB_ENV
16-
17-
- uses: actions/setup-python@v4
16+
17+
- uses: actions/setup-python@v5
1818
if: ${{ !env.wrong_branch }}
19-
with:
19+
with:
2020
python-version: 3.8
2121

2222
- name: Install dependencies
@@ -32,7 +32,7 @@ jobs:
3232
run: python ./.github/scripts/check_icon_pr.py "$PR_TITLE" ./icons ./devicon.json
3333

3434
- name: Upload the err messages
35-
uses: actions/upload-artifact@v3
35+
uses: actions/upload-artifact@v4
3636
if: success()
3737
with:
3838
name: err_messages
@@ -46,7 +46,7 @@ jobs:
4646
run: echo $PR_NUM > pr_num.txt
4747

4848
- name: Upload the pr num
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
if: success()
5151
with:
5252
name: pr_num

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
security-events: write
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Initialize CodeQL
2121
uses: github/codeql-action/init@v2
@@ -31,10 +31,10 @@ jobs:
3131
security-events: write
3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535

3636
- name: Set up Python
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3838
id: setup-python
3939
with:
4040
python-version: '3.10'
@@ -65,7 +65,7 @@ jobs:
6565
security-events: write
6666
steps:
6767
- name: Checkout repository
68-
uses: actions/checkout@v3
68+
uses: actions/checkout@v4
6969

7070
- name: Find Python files outside the .github folder
7171
id: find_files

.github/workflows/in_develop_labeler.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Label Issue In Develop
22
on:
33
workflow_run:
44
workflows: ['On Develop PR Merge']
5-
types:
5+
types:
66
- completed
77
jobs:
88
on-failure:
@@ -15,20 +15,20 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Setup Python v3.8
21-
uses: actions/setup-python@v4
22-
with:
21+
uses: actions/setup-python@v5
22+
with:
2323
python-version: 3.8
2424

25-
- name: Install dependencies
25+
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
2828
pip install -r ./.github/scripts/requirements.txt
29-
29+
3030
- name: Download workflow artifact
31-
uses: dawidd6/action-download-artifact@v2.11.0
31+
uses: dawidd6/action-download-artifact@v7
3232
with:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
3434
workflow: peek_icons.yml
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: On Develop PR Merge
2-
on:
2+
on:
33
pull_request:
44
types: [closed]
55
branches: [develop]
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.event.pull_request.merged == true
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

1414
- name: Save the PR number in an artifact
1515
shell: bash
@@ -18,7 +18,7 @@ jobs:
1818
run: echo $PR_NUM > pr_num.txt
1919

2020
- name: Upload the PR number
21-
uses: actions/upload-artifact@v2.2.4
21+
uses: actions/upload-artifact@v4
2222
with:
2323
name: pr_num
2424
path: ./pr_num.txt

.github/workflows/npm_publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
environment: release
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
# "ref" specifies the branch to check out.
1313
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
1414
ref: ${{ github.event.release.target_commitish }}
1515
- name: Use Node.js v16
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
1818
node-version: 16
1919
registry-url: https://registry.npmjs.org/ # Specifies the registry, this field is required!

.github/workflows/peek_icons.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Peek Icons
22
on:
33
pull_request:
4-
types: [labeled]
4+
types: [labeled]
55
jobs:
66
peek:
77
# four outcomes: successful check and upload,
@@ -11,14 +11,14 @@ jobs:
1111
if: github.event.label.name == 'bot:peek'
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Setup Python v3.8
17-
uses: actions/setup-python@v4
18-
with:
17+
uses: actions/setup-python@v5
18+
with:
1919
python-version: 3.8
2020

21-
- name: Install dependencies
21+
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip install -r ./.github/scripts/requirements.txt
@@ -30,7 +30,7 @@ jobs:
3030
run: echo $PR_NUM > pr_num.txt
3131

3232
- name: Upload the PR number
33-
uses: actions/upload-artifact@v2.2.4
33+
uses: actions/upload-artifact@v4
3434
with:
3535
name: pr_num
3636
path: ./pr_num.txt
@@ -40,26 +40,26 @@ jobs:
4040
PR_TITLE: ${{ github.event.pull_request.title }}
4141
shell: bash
4242
run: >
43-
python ./.github/scripts/icomoon_peek.py
44-
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
43+
python ./.github/scripts/icomoon_peek.py
44+
./.github/scripts/build_assets/geckodriver-v0.32.2-linux64/geckodriver ./icomoon.json
4545
./devicon.json ./icons ./ --headless "$PR_TITLE"
4646
4747
- name: Upload the err messages (created by icomoon_peek.py)
48-
uses: actions/upload-artifact@v2.2.4
48+
uses: actions/upload-artifact@v4
4949
if: always()
5050
with:
5151
name: err_messages
5252
path: ./err_messages.txt
5353

5454
- name: Upload screenshots for comments
55-
uses: actions/upload-artifact@v2.2.4
55+
uses: actions/upload-artifact@v4
5656
if: success()
5757
with:
5858
name: screenshots
5959
path: ./screenshots/*.png
6060

6161
- name: Upload geckodriver.log for debugging purposes
62-
uses: actions/upload-artifact@v2.2.4
62+
uses: actions/upload-artifact@v4
6363
if: failure()
6464
with:
6565
name: geckodriver-log

.github/workflows/post_check_icon_pr_comment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ name: Post the result of the check_icon_pr workflow into its PR.
22
on:
33
workflow_run:
44
workflows: ['Check Icon PR']
5-
types:
5+
types:
66
- completed
7-
jobs:
7+
jobs:
88
post_result_of_svg_check:
99
name: Post the result of the Check SVG Action
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check if the trigger run worked. If it failed, fail the current run.
13-
if: github.event.workflow_run.conclusion != 'success'
13+
if: github.event.workflow_run.conclusion != 'success'
1414
uses: cutenode/action-always-fail@v1.0.1
1515

1616
- name: Download workflow artifact
17-
uses: dawidd6/action-download-artifact@v2.27.0
17+
uses: dawidd6/action-download-artifact@v7
1818
if: success()
1919
with:
2020
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Comment on the PR about the result - Failure
6464
uses: jungwinter/comment@v1.1.0 # let us comment on a specific PR
65-
if: failure()
65+
if: failure()
6666
env:
6767
MESSAGE: |
6868
Hi!

0 commit comments

Comments
 (0)