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

Run auto download daily for specific manufacturers #708

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rohankapoorcom
Copy link

@rohankapoorcom rohankapoorcom commented Feb 28, 2025

As discussed with @Nerivec in the context of #697, a lot of manufacturers have extensive rate limiting on their API endpoints. For manufacturers that specifically request their OTAs being processed more frequently, we can run a custom job for this one.

Added a new action that will run daily and has an environment variable to populate the list of manufacturers. It intentionally does not trigger a release (keeping that for the weekly job)

Fixes: #697

name: Run auto download
on:
schedule:
- cron: '0 0 * * *'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you offset the time to mid-day or something, so it doesn't trigger same time as the regular weekly one?

@@ -0,0 +1,51 @@
name: Run auto download
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run daily auto download

git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Autodl update" || echo 'Nothing to commit'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Daily autodl update"

so we can easily differentiate the two.

@Nerivec Nerivec changed the title Create a separate action that runs daily for specific manufacturers Run auto download daily for specific manufacturers Feb 28, 2025
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.

Run autodl more regularly
2 participants