Scheduled Repo Search #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Search Cloudflare Workers with shadcn | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * 0' | |
| jobs: | |
| search: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Search for shadcn in Cloudflare Workers projects | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| echo "=== Repositories with shadcn and wrangler config ===" | |
| # Search for wrangler.toml | |
| echo "Searching wrangler.toml files..." | |
| gh search code 'shadcn path:wrangler.toml' \ | |
| --limit 100 \ | |
| --json repository > toml_results.json | |
| # Search for wrangler.jsonc | |
| echo "Searching wrangler.jsonc files..." | |
| gh search code 'shadcn path:wrangler.jsonc' \ | |
| --limit 100 \ | |
| --json repository > jsonc_results.json | |
| # Combine and deduplicate results, sort by stars | |
| echo "" | |
| echo "=== Top 20 by Stars ===" | |
| j* |