Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SabbaghCodes authored Jun 14, 2024
1 parent 2056f26 commit a30233b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Update Summary Statistics

on:
push:
branches:
- main # adjust branch as necessary

jobs:
update_summary:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # adjust Python version as necessary

- name: Run script to update summary statistics
run: |
pip install -r requirements.txt # if you have any Python dependencies
python update_summary.py
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Update summary statistics table"
git push

0 comments on commit a30233b

Please sign in to comment.