Find Adjacent Repositories #12
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: Find Adjacent Repositories | |
| on: | |
| schedule: | |
| - cron: '0 5 * * 0' # Every Sunday at 5am UTC | |
| workflow_dispatch: | |
| jobs: | |
| recommend-repos: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Adjacent Repositories Recommender | |
| uses: gojiplus/[email protected] | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} # ✅ Pass the required token | |
| - name: Commit and push changes | |
| run: | | |
| git config --global user.name "github-actions" | |
| git config --global user.email "[email protected]" | |
| git add README.md | |
| git commit -m "Update adjacent repositories [automated]" || echo "No changes to commit" | |
| git push |