Push Code and Get Assignment 😍 (⚠️Lazy People Only...)
Tags: actionshackathon21
Published: 2021-12-08 16:40:25

<p align="center">
 <img src="https://media.giphy.com/media/azUBCBFSCyNgc/giphy.gif">  
</p>  


So, it all started from my college. But first. Let's be honest. I'm a lazy guy. I just find ways to skip works. And try to find easy ways to live my life. So when it comes to writing assignments, um you know what I would do.
<p align="center">
 <img src="https://media.giphy.com/media/QHE5gWI0QjqF2/giphy.gif">  
</p> 

So the thing is , I've noted one thing. My professor give us few questions to code and then make an assignment out of it which just contains my code , the working snaps and the question. But making the these things is too much work for a guy like me. Though it's just copy paste but still I have to do the same repetitive task again and again for a whole semester or may be for a whole year.

<p align="center">
 <img src="https://media.giphy.com/media/pOZhmE42D1WrCWATLK/giphy.gif">  
</p> 

And here comes the GitHub actions. So what I do is , I store my codes and snaps in my local repository and then push it to GitHub. And GitHub Actions gets files from my last commit and form an assignment for me then sent it to my email so that I can just submit it. 😊
<p align="center">
 <img src="https://media.giphy.com/media/xT0BKiK5sOCVdBUhiM/giphy.gif">  
</p> 
> `FUN FACT` - Code and this github actions is reusable and easily configurable 🎭

{% youtube s5KuaHp_ujc %}
### My Workflow

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9rrng8s6xlre2dto1f9g.png)

### Instructions
<img src="https://media.giphy.com/media/l1lCx5gsFRg8tMg0eK/giphy.gif" width="5">

- if you want to know how to use it just lightly press here 👉🏻 [🍎(forgot to bite it)](https://www.youtube.com/watch?v=OWB7oYtS9N8)
- press here [😭(Why are you so harsh)](https://github.com/marketplace/actions/assignmenty-bot) hardly to follow this action in marketplace  

### Submission Category: 
<img src="https://media.giphy.com/media/xT1R9Jzib1CFmuQlAQ/giphy.gif" width="5">
`Wacky Wildcards` (this is just a lazy people's bot XD)

[Note]: # (Maintainer Must-Haves, DIY Deployments, Interesting IoT, Phone Friendly, or Wacky Wildcards)


### Yaml File or Link to Code

```
name: Assignmenty Mailer
on: 
push:
    branches:
    - main
workflow_dispatch:
jobs:
mailer:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
        with:
        fetch-depth: 2
    - uses: ShreyamMaity/Assignmenty@main 
        with:
        MAILID : 'sample@gmail.com' #mail if of your choice
        FILENAME : 'assignment' #assignment file name
```

### Still Want to Learn More? 
- Here you go lazy person 👇🏻
 {% github https://github.com/ShreyamMaity/Assignmenty %}


### Additional Resources / Info
<img src="https://media.giphy.com/media/l0IyjeA5mmMZjhyPm/giphy.gif" width="5">
- [GitHub Checkout@v2](https://github.com/actions/checkout)

### Maintainer and Owner
- [Shreyam Maity](https://github.com/ShreyamMaity)
![GitHub Contributors Image](https://contrib.rocks/image?repo=ShreyamMaity/Assignmenty)

---
Bonus Tip :
[Don't Tell Anyone About It 🤫](https://www.youtube.com/watch?v=dQw4w9WgXcQ)
<img src="https://media.giphy.com/media/VgCDAzcKvsR6OM0uWg/giphy.gif" width="5">