Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/adjacent.yml
Original file line number Diff line number Diff line change
@@ -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"
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,17 @@ in `DESCRIPTION`.
### License

Scripts are released under the [MIT License](https://opensource.org/licenses/MIT).

<!-- adjacent:start -->

## 🔗 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)_

<!-- adjacent:end -->