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

Automating using cron job #38

Merged
merged 4 commits into from
Jan 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/aikido.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ on:
push:
branches:
- main
mustakeem-encord marked this conversation as resolved.
Show resolved Hide resolved

schedule:
# Schedule the workflow to run at 9:40 AM UK time
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove these comments - they are not required - currently confusing.

- cron: '40 9 * * *'
Copy link
Collaborator

Choose a reason for hiding this comment

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

this will run every day but we want weekly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is to test if it does run, I am keeping the time to be in the next 5 minutes so that I can see it runs as scheduled and I'll change it later to weekly.

name: Aikido Scan
jobs:
aikido-local-scan-repo:
Expand Down
Loading