Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: automate lexicons updates #36

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

shuuji3
Copy link
Collaborator

@shuuji3 shuuji3 commented Jan 9, 2025

This PR allows automating to update lexicons file to the latest state as I noticed the current file is a bit outdated because Bluesky recently added trending tags etc. and updated lexicons as well.

I wrote a new script check-version-change.ts, which checks whether the generated lexicons are updated or not.

A new workflow update-lexicons.yml runs that script and if the lexicon has a new version, it pushes a new commit.

To determine if the lexicons need to be updated, I used this Source: line (
main...shuuji3:tsky:automate-lexicons-updates#diff-4fd548033d0c577f7362cbc14137a37e4c99f9df670040826c67db41998f70a9R10). When Bluesky published the new lexicons, the commit hash is updated here.

Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for tsky canceled.

Name Link
🔨 Latest commit 81a063f
🔍 Latest deploy log https://app.netlify.com/sites/tsky/deploys/677fcec59d5c890008f2e039

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant