Schedule `Sync translations` action to run 30 minutes after the last one.
This concerns the Sync translations GitHub action.
Crowdin translations can only be updated 30 minutes after the last sync. Running the GitHub action before that delay result in no changes.
To avoid waiting for the delay, if the last sync ran less than 30 minutes ago, schedule the next sync to run 30 minutes after the last one.
If multiple syncs are scheduled, keep only one.
I don't believe GitHub Actions has a mechanism to schedule a job in the future, do you have a proposed implementation for this?
sleepwill occupy a runner, but is probably the 'best' way
I don't believe GitHub Actions has a mechanism to schedule a job in the future, do you have a proposed implementation for this?
I don't know a single thing about GitHub Actions 😂
Anything that works is fine to me
@david-allison can I work on this ?
@gurnoorpannu The following issue is still assigned to you. Would you prefer this issue, and be unassigned on the linked issue?
- https://github.com/ankidroid/Anki-Android/issues/19320
Hi, can i please get this assigned?
@gurnoorpannu The following issue is still assigned to you. Would you prefer this issue, and be unassigned on the linked issue?
@david-allison I made the pr #19424 and it got accepted , idk if you need me to make some changes in it ?
@gurnoorpannu ok, this issue is assigned to you
Hello, can i work on this? It seems to be solvable by using schedule https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows
@LUwUcifer I've assigned you, go for it.
Hey @lukstbit can you assign this one to me?
@AjvadZ this issue is already assigned to me and i am working on it
Hello @BrayanDSO @lukstbit, i have coded the yaml file for this functionality however I am unsure how to go about testing whether it works, can i get some pointers regarding the same?
@LUwUcifer Not trying to be rude but are you working on this issue?
yes