awesome icon indicating copy to clipboard operation
awesome copied to clipboard

Creating a GitHub Action that tweets new Awesome Entries

Open Ly0n opened this issue 3 years ago • 3 comments

Hey Awesome people,

Problem: I love awesome lists but they do have one essential problem. It is very hard to follow new projects on awesome lists. It would be nice to create a newsfeed for readers to stay informed about new entries.

Solution. We created a simple GitHub Action that creates tweets based on the commit messages. Contributors can define there own custom tweet message by defining the Pull Request title in a corresponding way.

The script checks if the last commit message on the main branch contains https and creates a tweet based on the corresponding line. https://github.com/protontypes/awesome-twitter-action

  1. Add the Github Action Script to .github/workflows/tweet.yml
  2. Create a Twitter Developer Account.
  3. Add the Login data to your project secrets.
  4. Activate your Github Actions by pressing the Activate GitHub Action for this Projects button on the Action Tab of your project.
  5. Create a Commit Message with an URL. Since the title of a pull request is included in the commit message, contributors can create user-specific Twitter messages.

It would be nice to get your feedback. The action is already integrated here: https://github.com/protontypes/awesome-robotic-tooling

Do you see any better integration that might be more intuitive and fit better in the Awesome list workflow? At the moment we assume that every commit is always a new project entry.

Ly0n avatar Dec 13 '20 10:12 Ly0n

I am looking for a first project would this be a good fit for a beginner.

MsPinkieBoo7872 avatar Mar 19 '22 21:03 MsPinkieBoo7872

New entries are already tweeted

Jogai avatar Mar 21 '22 07:03 Jogai

Follow this person margo2016tepa

sammluc avatar Nov 11 '23 14:11 sammluc