Skip to content

Suggestion: Automate a twitter bot via GitHub actions #4

@carlosperate

Description

@carlosperate

You could use GitHub Actions and configure it to run a script once a day to tweet one of the quotes 🤗
Similar to https://twitter.com/pyjokes_bot

I've done something along these lines for the awesome-microbit list: https://twitter.com/awesomemicrobit
In this case it tweets every time I commit to the main branch with a special keyword, but should be relatively easy to change the configuration to run at a given interval: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule

My scripts can be found in this directory: https://github.com/carlosperate/awesome-microbit/tree/master/.github/actions/tweet-commit
Is a bit more complex than this would need, but happy to help where I can :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions