File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Summarize Ambassador Applications
2+
3+ on :
4+ workflow_dispatch : # Manual trigger only
5+
6+ jobs :
7+ summarize :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Checkout Repository
12+ uses : actions/checkout@v3
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v4
16+ with :
17+ python-version : ' 3.x'
18+
19+ - name : Install Dependencies
20+ run : pip install PyGithub
21+
22+ - name : Run Summary Script
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ GITHUB_REPOSITORY : pytorch-fdn/foundation-programs
26+ run : python .github/scripts/summarize_applications.py
27+
28+ - name : Commit and Push Summary
29+ run : |
30+ git config --global user.email "[email protected] " 31+ git config --global user.name "GitHub Actions"
32+ git add SUMMARY.md
33+ git commit -m "Update Ambassador Application Summary"
34+ git push
You can’t perform that action at this time.
0 commit comments