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}}'
Top comments (2)
This is a great way to motivate others especially first-timers. Awesome π
Thanks Jane :)
It's open for suggestions, LMK if any βπ
btw You can create a test issue to test it :)
Link - github.com/TheShubham99/YouRock/