Skip to content

Commit 5349e3e

Browse files
author
sudo-Tiz
committed
merge main into self
2 parents 2d67f83 + b68c1da commit 5349e3e

Some content is hidden

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

41 files changed

+1454
-413
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ version: 2
22
updates:
33
# Rust (Cargo)
44
- package-ecosystem: cargo
5-
directory: "/"
5+
directory: "/"
66
schedule:
7-
interval: weekly
8-
7+
interval: quarterly
8+
99
# NPM
1010
- package-ecosystem: npm
1111
directory: "/website"
1212
schedule:
13-
interval: weekly
14-
13+
interval: quarterly
14+
1515
# GitHub Actions
1616
- package-ecosystem: github-actions
17-
directory: "/"
17+
directory: "/"
1818
schedule:
19-
interval: weekly
19+
interval: quarterly

.github/release-drafter.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ exclude-contributors:
3434
no-contributors-template: "just me this time 😅"
3535
autolabeler:
3636
- label: "docs"
37-
files:
38-
- "*.md"
37+
branch:
38+
- '/^docs\/.+/'
39+
title:
40+
- "/^docs/i"
3941
- label: "bug"
4042
branch:
4143
- '/fix\/.+/'
@@ -44,8 +46,10 @@ autolabeler:
4446
- label: "feature"
4547
branch:
4648
- '/feature\/.+/'
49+
- '/feat\/.+/'
4750
title:
4851
- "/feature/i"
52+
- '/feat\/.+/'
4953
- label: "chore"
5054
branch:
5155
- '/chore\/.+/'
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Generate Icon Font
2+
3+
on:
4+
push:
5+
paths:
6+
- 'src/components/icons.rs'
7+
pull_request:
8+
paths:
9+
- 'src/components/icons.rs'
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
generate-icons:
16+
runs-on: ubuntu-latest
17+
# Only run on push events to avoid permission issues on PRs from forks
18+
if: github.event_name == 'push'
19+
steps:
20+
- uses: actions/checkout@v5
21+
with:
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
24+
- name: Install FontForge
25+
run: |
26+
sudo apt-get update
27+
sudo apt-get install -y fontforge python3-fontforge
28+
29+
- name: Install fonttools
30+
run: |
31+
pip install fonttools
32+
33+
- name: Generate icon font
34+
run: |
35+
cd assets
36+
./generate_ashell_icon.sh
37+
38+
- name: Check for changes
39+
id: check_changes
40+
run: |
41+
git diff --exit-code assets/ashell_icon.ttf || echo "changed=true" >> $GITHUB_OUTPUT
42+
43+
- name: Commit and push if changed
44+
if: steps.check_changes.outputs.changed == 'true'
45+
run: |
46+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
47+
git config --local user.name "github-actions[bot]"
48+
git add assets/ashell_icon.ttf
49+
git commit -m "chore: regenerate icon font [skip ci]"
50+
git push origin HEAD:${{ github.head_ref || github.ref_name }}

.github/workflows/gh-pages-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
version: 10
2626

27-
- uses: actions/setup-node@v5
27+
- uses: actions/setup-node@v6
2828
with:
2929
node-version: 20
3030
cache: pnpm

.github/workflows/gh-pages-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
version: 10
2525

26-
- uses: actions/setup-node@v5
26+
- uses: actions/setup-node@v6
2727
with:
2828
node-version: 20
2929
cache: pnpm

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
with:
6767
version: 10
6868

69-
- uses: actions/setup-node@v5
69+
- uses: actions/setup-node@v6
7070
with:
7171
node-version: 20
7272
cache: pnpm

0 commit comments

Comments
 (0)