Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# activate the bot only if your IDE/Editor application is active
tell application "Android Studio" # You can change the IDE/Editor name eg: Xcode or Atom
activate
repeat
set title to "Fyru bot"
set message to "I am making auto commit & push"
display notification message with title title sound name "Glass"
# change the project path,commit message and the branch
do shell script "cd Users/ajithvgiri/AndroidStudioProjects/ExampleProject && git add -A && git commit -m 'commit from Fyru bot' && git push origin development"
delay 14400 # you can change the delay time current 14400 seconds = 4 hours
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment