From 87edf747d0a312404cdf90ef0f701a3e11c18e4b Mon Sep 17 00:00:00 2001 From: gaurav <721466+soodoku@users.noreply.github.com> Date: Wed, 2 Dec 2026 21:11:26 -0800 Subject: [PATCH] Refresh related repositories with Adjacent --- .github/workflows/adjacent.yml | 42 ++++++++++++++++++++++++++++++++++ README.md | 14 ++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 .github/workflows/adjacent.yml diff --git a/.github/workflows/adjacent.yml b/.github/workflows/adjacent.yml new file mode 100644 index 0000000..d1d9eff --- /dev/null +++ b/.github/workflows/adjacent.yml @@ -0,0 +1,42 @@ +name: Adjacent repositories + +on: + schedule: + - cron: '23 5 * * 0' + workflow_dispatch: + +permissions: {} + +concurrency: + group: adjacent-${{ github.ref }} + cancel-in-progress: false + +jobs: + refresh: + if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) + runs-on: ubuntu-latest + timeout-minutes: 15 + permissions: + contents: write + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Refresh related repositories + id: adjacent + uses: gojiplus/adjacent@374383b176c74992693f775482df95a1122cc010 # v2.1 + with: + token: ${{ github.token }} + + - name: Commit README changes + if: steps.adjacent.outputs.changed == 'true' + env: + GH_TOKEN: ${{ github.token }} + run: | + git config user.name 'github-actions[bot]' + git config user.email '41898282+github-actions[bot]@users.noreply.github.com' + git add -- README.md + git commit -m 'Refresh adjacent repositories' + gh auth setup-git + git push origin "HEAD:$GITHUB_REF_NAME" diff --git a/README.md b/README.md index 7eb2ba1..c395008 100644 --- a/README.md +++ b/README.md @@ -35,3 +35,17 @@ in `DESCRIPTION`. ### License Scripts are released under the [MIT License](https://opensource.org/licenses/MIT). + + + +## 🔗 Adjacent Repositories + +- [appeler/graphic_names](https://github.com/appeler/graphic_names) — Infer the gender of person with a particular first name using Google image search and Clarifai +- [appeler/ethnicolor](https://github.com/appeler/ethnicolor) — Race and Ethnicity based on name using data from census, voter reg. files, etc. +- [appeler/naampy](https://github.com/appeler/naampy) — Infer Sociodemographic Characteristics from Names Using Indian Electoral Rolls +- [appeler/outkast](https://github.com/appeler/outkast) — Using data from over 140M+ Indians from the SECC 2011, we map last names to caste \(SC, ST, Other\) +- [appeler/ethnicolr](https://github.com/appeler/ethnicolr) — Canonical package for name-based race and ethnicity estimates using Census, voter-file, and Wikipedia/Wikidata models. + +_Powered by [Adjacent](https://github.com/gojiplus/adjacent)_ + +