You Contribute, You Rock! (gh-action hackathon - WEEK 1)
Prathamesh Sahasrabhojane ✔️
Posted on August 18, 2020
Hey there folks 👋
This is a summary of my last week that I spent on github actions.
I am developing a Contributor Appreciator
Action called YouRock
.
What It'll do?
It'll send out a personalized email to contributors with some
personalized Image Processed material
with #️⃣open-cvAlso, It'll consist of some Badges that contributors can showcase on their social media.
Aim and Impact
This action will help #️⃣ maintainers to improve the outreach
and Public Relations.
Stack
- Github Actions running on ubuntu
- Python
- open-cv
- Pillow
- GraphQL
Work done :
- Process the GrphQL query to find the user's avatar and email in actions.
- Send out an email.
Code -
- uses: octokit/graphql-action@v2.x
id: start_sending
with:
query: |
query send($login:String!){
user(login:$login){
login
avatarUrl
email
}
}
login: ${{ github.actor }}
Run Python Script
- name: Send Email
run: |
python ./Rock.py '${{steps.start_sending.outputs.data}}' '${{github.repository}}'
Repository - https://github.com/TheShubham99/YouRock/
💖 💪 🙅 🚩
Prathamesh Sahasrabhojane ✔️
Posted on August 18, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
actionshackathon21 Using GitHub Actions to turn contributors into heroes of an open source game
December 9, 2021