{"id":13503313,"url":"https://github.com/ethomson/send-tweet-action","last_synced_at":"2025-04-07T08:27:54.950Z","repository":{"id":44020333,"uuid":"230974478","full_name":"ethomson/send-tweet-action","owner":"ethomson","description":"Send a tweet from a GitHub Action","archived":false,"fork":false,"pushed_at":"2023-03-04T05:34:04.000Z","size":1633,"stargazers_count":85,"open_issues_count":11,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T07:05:06.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethomson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-12-30T20:17:32.000Z","updated_at":"2025-02-26T14:10:52.000Z","dependencies_parsed_at":"2024-01-18T23:49:01.882Z","dependency_job_id":null,"html_url":"https://github.com/ethomson/send-tweet-action","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":0.4444444444444444,"last_synced_commit":"2eb0689d04dc0e223d17f07b638e027f78bc6853"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Fsend-tweet-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Fsend-tweet-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Fsend-tweet-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Fsend-tweet-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethomson","download_url":"https://codeload.github.com/ethomson/send-tweet-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247618181,"owners_count":20967734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:02:46.031Z","updated_at":"2025-04-07T08:27:54.916Z","avatar_url":"https://github.com/ethomson.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/ethomson/send-tweet-action/actions\"\u003e\u003cimg alt=\"send-tweet-action status\" src=\"https://github.com/ethomson/send-tweet-action/workflows/CI/badge.svg?branch=master\u0026event=push\"\u003e\u003c/a\u003e\n\n# Send a tweet from a GitHub Actions workflow\n\nUse this action to send a tweet from a GitHub actions workflow.\n\n## Twitter Application Setup\n\nFirst, you'll need to create a Twitter application if you haven't\nalready.  This will allow you to programmatically authenticate to\nthe Twitter API and send a tweet.\n\nIf you haven't already, visit\n[developer.twitter.com/apps](https://developer.twitter.com/apps)\nand create a Twitter application.  Then create keys and tokens\nto use for authentication.\n\n## Secret Configuration\n\nConfigure the authentication keys and tokens for your Twitter\napp as secrets in your repository.  I recommend using the\n`TWITTER_CONSUMER_API_KEY`, `TWITTER_CONSUMER_API_SECRET`,\n`TWITTER_ACCESS_TOKEN`, and `TWITTER_ACCESS_TOKEN_SECRET`\nsecrets.\n\n## Workflow Usage\n\nConfigure your workflow to use `ethomson/send-tweet-action@v1`,\nand provide the tweet you want to send as the `status` input.\n\nProvide the authentication keys and tokens for your Twitter app\nas the `consumer-key`, `consumer-secret`, `access-token`, and\n`access-token-secret` inputs.\n\nFor example:\n\n```yml\nname: Send a Tweet\non: [push]\njobs:\n  tweet:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ethomson/send-tweet-action@v1\n        with:\n          status: \"Hi, this is a test!\"\n          consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}\n          consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}\n          access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}\n          access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}\n```\n\nNow whenever you push something to your repository, GitHub Actions\nwill tweet on your behalf.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethomson%2Fsend-tweet-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethomson%2Fsend-tweet-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethomson%2Fsend-tweet-action/lists"}