diff --git a/.github/workflows/github-trending-badge.yml b/.github/workflows/github-trending-badge.yml index f0cc167..0b6355c 100644 --- a/.github/workflows/github-trending-badge.yml +++ b/.github/workflows/github-trending-badge.yml @@ -30,7 +30,7 @@ jobs: TRENDING_REPO_ID: Devlaner/devlane TRENDING_REPO_NAME: Devlane run: | - node -e "import fs from 'node:fs/promises'; import path from 'node:path'; \ + node --input-type=module -e "import fs from 'node:fs/promises'; \ const REPO_ID = process.env.TRENDING_REPO_ID; \ const SINCE = ['daily','weekly','monthly']; \ const OUT = 'github-trending.json'; \ @@ -77,6 +77,8 @@ jobs: echo "No changes to commit." exit 0 fi + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add github-trending.json github-trending.status.json - git commit -m "chore(readme): update GitHub Trending badge" + git commit -m "chore(trending): update GitHub Trending badge JSON/status" git push diff --git a/README.md b/README.md index 5818453..14fafe8 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Contributions are welcome. Please open an issue for bugs or feature ideas, and r ## GitHub Trending -[![GitHub Trending](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Devlaner/devlane/main/github-trending.json)](https://github.com/trending) +[![GitHub Trending](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Devlaner/devlane/main/github-trending.json)](https://github.com/trending) [![GitHub Stars](https://img.shields.io/github/stars/Devlaner/devlane?style=social)](https://github.com/Devlaner/devlane/stargazers) ## License diff --git a/ui/src/components/layout/PageHeader.tsx b/ui/src/components/layout/PageHeader.tsx index b124322..d2b6df0 100644 --- a/ui/src/components/layout/PageHeader.tsx +++ b/ui/src/components/layout/PageHeader.tsx @@ -808,6 +808,9 @@ function HomeHeader() { variant="ghost" size="sm" className="gap-1.5 text-[13px] font-medium text-(--txt-secondary)" + onClick={() => + window.open('https://github.com/Devlaner/devlane', '_blank', 'noopener,noreferrer') + } > Star us on GitHub