Contrib #3426
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Contrib | |
on: | |
schedule: | |
- cron: "0 */3 * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Download Script | |
run: | | |
echo Downloading Script... | |
wget https://raw.githubusercontent.com/MattTheTekie/MattTheTekie/master/Personal-Scripts/org_contributors.sh | |
wget https://raw.githubusercontent.com/MattTheTekie/MattTheTekie/master/Personal-Scripts/org.sh | |
wget https://github.com/sterlp/svg2png/releases/download/v1.2.1/svg2png | |
chmod +x org_contributors.sh | |
chmod +x org.sh | |
chmod +x svg2png | |
- name: Run Script | |
run: | | |
./org_contributors.sh | |
./svg2png contributors.svg | |
cd profile | |
../org.sh | |
cd .. | |
rm contributors.svg | |
rm svg2png | |
rm org.sh | |
rm org_contributors.sh | |
- name: Push Contributors | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "MattTheTekie" | |
git add . | |
git commit -m "contrib" --allow-empty || git commit -m "contrib" || true | |
git push origin main |