GitHub Actions (April Edition)
Tired of those dull, empty squares on your GitHub profile? https://www.reddit.com/r/github/comments/1as9o4h/please_someone_give_me_some_groundbreaking/
Are you ready to level up? Wait no more! Introducing GreenMax (trademarked) with GreenSquare technology (patent pending). We guarantee results or your money back: https://www.reddit.com/r/recruitinghell/comments/1hptjfm/hired_for_500k_without_interview/
Don’t wait! Follow the steps below and watch your profile transform into a lush green oasis!
1- Create a repo with this content:
- empty
somefile.txt
.github/workflows/datewf.yml
:
name:
on:
schedule:
- cron: "30 20 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
datejob:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Write date
run: date +%s > somefile.txt
- name: Run a multi-line script
run: |
git config --global user.name '<YOUR_USERNAME>'
git config --global user.email '<YOUR_EMAIL>'
git add somefile.txt
git commit -m "automated date file"
git push
2- Click on your avatar in the top right corner > Settings > Check the box “Include private contributions on my profile”
And voila! You now have become the envy of all your coding friends!