DEV Community

Cover image for Social-AI - Github action automatically add your social icons in README.MD
Elango Sundar
Elango Sundar

Posted on

Social-AI - Github action automatically add your social icons in README.MD

Hi, I am Elango Sundar, This is my submission for Github Actions

My Workflow

Social-AI is a Github action automatically add your social icons or profiles in your README.MD file without hassle.

It will helps without copy pasting the social icons from icons website and less configurations.

Submission Category:

I have submitted the my action under the below categories

  • Wacky Wildcards
  • Interesting IoT

Yaml File or Link to Code

My action has two inputs.

  • GITHUB_TOKEN - A personal Github token.
  • social-icons - Add your social name and it is username to add your README. [ Eg: If you will add social icon for twitter, will pass the socialName as twitter and userName as YOUR_USERNAME]
- name: add social icons
  uses: elangosundar/social-ai@master
  with:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    social-icons: '[ { "socialName": "twitter", "userName": "elango_sundar"}, { "socialName": "facebook", "userName": "elango_sundar"}, { "socialName": "dev-dot-to", "userName": "elango_sundar"}, { "socialName": "codesandbox", "userName": "elango_sundar"},{ "socialName": "stackoverflow", "userName": "elango_sundar"}, { "socialName": "youtube", "userName": "elango_sundar"}]'

Repo:
https://github.com/elangosundar/social-ai

Additional Resources / Info

I have created a demo repo for this Project - Social-AI-Demo.

Please check my repo and if you like this project, Please make ⭐.

Thanks for Dev.to and Action Hackathon Team

Top comments (0)