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

Cudo auto updater #58

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

Conversation

JungleCatSW
Copy link
Contributor

Updater for Cudo Compute

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

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

Thanks for adding this and sorry for the delay @JungleCatSW! Should be good to go.

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"[Bot] Update Cudo Compute catalog $version (scheduled at $(date))" || { echo "No changes to commit" && exit 0; }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
git commit -m"[Bot] Update Cudo Compute catalog $version (scheduled at $(date))" || { echo "No changes to commit" && exit 0; }
git commit -m"[Bot] Update Cudo Compute catalog $version (scheduled at $(date))" || { echo "No changes to commit" && exit 0; }

name: "update-cudo-catalog"
on:
schedule:
- cron: '00 */7 * * *'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Increase the minutes a bit to make sure all the actions do not conflict with each other.

Suggested change
- cron: '00 */7 * * *'
- cron: '05 */7 * * *'

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.

2 participants