Skip to content

Commit 9d4f9d6

Browse files
authored
Comment out update icons workflow in YAML
1 parent 9da5d33 commit 9d4f9d6

File tree

1 file changed

+41
-40
lines changed

1 file changed

+41
-40
lines changed
Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,47 @@
1-
name: Retrieve latest icons from excel file
1+
# name: Retrieve latest icons from excel file
22

3-
on:
4-
schedule:
5-
- cron: 0 0 */4 * *
6-
workflow_dispatch:
3+
# on:
4+
# schedule:
5+
# - cron: 0 0 */4 * *
6+
# workflow_dispatch:
77

8-
jobs:
9-
load-icons:
10-
if: github.repository == 'marticliment/UniGetUI'
11-
runs-on: windows-latest
8+
# jobs:
9+
# load-icons:
10+
# if: github.repository == 'marticliment/UniGetUI'
11+
# runs-on: windows-latest
1212

13-
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v6
13+
# steps:
14+
# - name: Checkout repository
15+
# uses: actions/checkout@v6
1616

17-
- name: Download icons json file
18-
run: |
19-
python -m pip install xlrd==1.2.0
20-
git config user.email "excelbot@github.com"
21-
git config user.name "Excel Bot"
22-
python scripts/generate_json_from_excel.py
23-
git commit WebBasedData/screenshot-database.json -m "Update icons and screenshots"
24-
exit 0
17+
# - name: Download icons json file
18+
# run: |
19+
# python -m pip install xlrd==1.2.0
20+
# git config user.email "excelbot@github.com"
21+
# git config user.name "Excel Bot"
22+
# python scripts/generate_json_from_excel.py
23+
# git commit WebBasedData/screenshot-database.json -m "Update icons and screenshots"
24+
# exit 0
25+
26+
# - name: Prepare PR Body with Images
27+
# id: prepare_pr_body
28+
# run: |
29+
# echo "## New Images" > pr_body.md
30+
# Get-Content WebBasedData/new_urls.txt | ForEach-Object {
31+
# if (![string]::IsNullOrWhiteSpace($_)) {
32+
# Add-Content pr_body.md "<a href='$_'><img src='$_' width='200' height='200' /></a>" -NoNewline
33+
# }
34+
# }
35+
# - name: Create Pull Request
36+
# uses: peter-evans/create-pull-request@v8
37+
# with:
38+
# delete-branch: true
39+
# base: main
40+
# title: "Update icons and screenshots from the excel file"
41+
# reviewers: "${{ github.repository_owner }}"
42+
# author: "Excel Bot <excel-bot@users.noreply.github.com>"
43+
# commit-message: "Update icons and screenshots from the excel file"
44+
# branch: pull-request/update-icons-and-screenshots
45+
# body-path: pr_body.md
2546

26-
- name: Prepare PR Body with Images
27-
id: prepare_pr_body
28-
run: |
29-
echo "## New Images" > pr_body.md
30-
Get-Content WebBasedData/new_urls.txt | ForEach-Object {
31-
if (![string]::IsNullOrWhiteSpace($_)) {
32-
Add-Content pr_body.md "<a href='$_'><img src='$_' width='200' height='200' /></a>" -NoNewline
33-
}
34-
}
35-
- name: Create Pull Request
36-
uses: peter-evans/create-pull-request@v8
37-
with:
38-
delete-branch: true
39-
base: main
40-
title: "Update icons and screenshots from the excel file"
41-
reviewers: "${{ github.repository_owner }}"
42-
author: "Excel Bot <excel-bot@users.noreply.github.com>"
43-
commit-message: "Update icons and screenshots from the excel file"
44-
branch: pull-request/update-icons-and-screenshots
45-
body-path: pr_body.md
4647

0 commit comments

Comments
 (0)