Skip to content

Commit 66b181f

Browse files
committed
Add repository metrics image to README and update workflow triggers
1 parent 689056f commit 66b181f

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/repo-stats.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
workflow_dispatch:
55
schedule:
66
- cron: "53 4 * * *" # Runs daily at 4:53 AM (UTC)
7+
push:
8+
branches: [repo-stats]
9+
pull_request:
10+
branches: [repo-stats]
711

812
jobs:
913
metrics:

MoveDistrosOneLiner.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$distros = "Ubuntu", "Arch", "Debian", "Fedora"; foreach ($d in $distros) { wsl --export $d "E:\WSL\$d-backup.tar"; wsl --unregister $d; wsl --import $d "E:\WSL\$d" "E:\WSL\$d-backup.tar"; Remove-Item "E:\WSL\$d-backup.tar"; $wslConf = "E:\WSL\$d\etc\wsl.conf"; if (!(Test-Path $wslConf)) { New-Item -ItemType File -Path $wslConf -Force | Out-Null }; Add-Content -Path $wslConf -Value "`n[user]`ndefault=nick2bad4u" }

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,14 @@ Explore the collection of user styles and scripts hosted on various platforms, d
278278
/>
279279
</div>
280280

281+
<div align="center">
282+
<img
283+
src="https://raw.githubusercontent.com/Nick2bad4u/UserStyles/repo-stats/metrics.repository.svg"
284+
alt="Repo Metrics"
285+
width="100%"
286+
/>
287+
</div>
288+
281289
<!-- FILE_LIST_START -->
282290

283291
<!-- FILE_LIST_END -->

0 commit comments

Comments
 (0)