Skip to content

Find Adjacent Repositories #11

Find Adjacent Repositories

Find Adjacent Repositories #11

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/adjacent@v1.3
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 "actions@github.com"
git add README.md
git commit -m "Update adjacent repositories [automated]" || echo "No changes to commit"
git push