Skip to content

Commit

Permalink
Add GitHub Action To Generate The Markdown (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
davidteather and actions-user authored May 1, 2024
1 parent 511ecbb commit 3872851
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_md.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update README

on:
push:
branches:
- master
workflow_dispatch:

jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Run refresh.py script
run: |
cd who && python make_who.py
- name: Commit and Push if changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add who/who.markdown
git commit -m "Updated who.markdown" || echo "No changes to commit"
git push
2 changes: 1 addition & 1 deletion who/who.json
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@
"coord": true,
"jobs": "Trendpop, Warner Music Group, Collab, CrowdStrike",
"link": "https://www.linkedin.com/in/davidteather/",
"misc": ""
"misc": "😎"
},
{
"name": "Lucas Scharenbroch",
Expand Down
2 changes: 1 addition & 1 deletion who/who.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@
| `wildman` | Matt Wildman | Spring 2018 | Spring 2022 | :white_check_mark: | Capital One, Facebook, Hudson River Trading | https://www.linkedin.com/in/matt-wildman/ | Sorry about the fridge |
| `wallen` | Ben Wallen | Fall 2021 | Spring 2024 | :white_check_mark: | Cigna, Mastercard, Netflix | https://www.linkedin.com/in/wallenben/ | |
| `scharenbroch` | Lucas Scharenbroch | Fall 2023 | Spring 2024 | :x: | Acuity Insurance | https://scharenbroch.dev | |
| `davidteather` | David Teather | Fall 2024 | Spring 2024 | :white_check_mark: | Trendpop, Warner Music Group, Collab, CrowdStrike | https://www.linkedin.com/in/davidteather/ | |
| `davidteather` | David Teather | Fall 2024 | Spring 2024 | :white_check_mark: | Trendpop, Warner Music Group, Collab, CrowdStrike | https://www.linkedin.com/in/davidteather/ | 😎 |

0 comments on commit 3872851

Please sign in to comment.