Skip to content
6 changes: 4 additions & 2 deletions .github/workflows/github-trending-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'; \
Comment thread
nazarli-shabnam marked this conversation as resolved.
const REPO_ID = process.env.TRENDING_REPO_ID; \
const SINCE = ['daily','weekly','monthly']; \
const OUT = 'github-trending.json'; \
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Comment thread
nazarli-shabnam marked this conversation as resolved.

Comment thread
nazarli-shabnam marked this conversation as resolved.
## License

Expand Down
3 changes: 3 additions & 0 deletions ui/src/components/layout/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Comment thread
nazarli-shabnam marked this conversation as resolved.
>
<IconGitHub />
Star us on GitHub
Expand Down
Loading