Skip to content

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.

@netlify
Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for tsky canceled.

Name Link
🔨 Latest commit 535bd86
🔍 Latest deploy log https://app.netlify.com/sites/tsky/deploys/6787ce88b87338000765e2b8

@shuuji3 shuuji3 merged commit b42f248 into tsky-dev:main Jan 15, 2025
6 checks passed
@shuuji3 shuuji3 deleted the automate-lexicons-updates branch January 15, 2025 15:05
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