Skip to content

Commit 37e964b

Browse files
committed
Adding workflows
1 parent 5ebc75c commit 37e964b

6 files changed

Lines changed: 94 additions & 0 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Whitespace-only changes.

.github/ISSUE_TEMPLATE/feature_request.yml

Whitespace-only changes.

.github/ISSUE_TEMPLATE/tutorial_request.yml

Whitespace-only changes.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Notebook Validation
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
validate-notebooks:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.8'
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -r requirements.txt
25+
pip install nbformat nbconvert
26+
27+
- name: Validate notebook format
28+
run: |
29+
find . -name "*.ipynb" -exec python -m nbformat.validator {} \;
30+
31+
- name: Check for execution errors
32+
run: |
33+
find . -name "*.ipynb" -exec jupyter nbconvert --to notebook --execute --inplace {} \;
34+
35+
---
36+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Star Reminder
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
comment:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Add helpful comment
12+
uses: peter-evans/create-or-update-comment@v4
13+
with:
14+
issue-number: ${{ github.event.issue.number }}
15+
body: |
16+
👋 Thanks for opening this issue!
17+
18+
If this tutorial collection is helping you learn LLMs, a quick ⭐ star would mean a lot!
19+
20+
Also, feel free to:
21+
- 🍴 Fork this repo to create your own tutorials
22+
- 📺 Check out the [YouTube channel](https://www.youtube.com/@atefataya) for video explanations
23+
- 💬 Join the discussion in [GitHub Discussions](https://github.com/atef-ataya/Large-Language-Models-Tutorial/discussions)
24+
25+
Happy learning! 🚀
26+
27+
---
28+

.github/workflows/welcome.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Welcome New Contributors
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
welcome:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Welcome new contributor
12+
uses: peter-evans/create-or-update-comment@v4
13+
with:
14+
issue-number: ${{ github.event.pull_request.number }}
15+
body: |
16+
🎉 Thank you for your contribution to the LLM Tutorial Collection!
17+
18+
Your help makes this resource better for everyone learning about Large Language Models.
19+
20+
**Review Process:**
21+
- ✅ Automated checks will validate your notebook
22+
- 👀 A maintainer will review your contribution
23+
- 🚀 Once approved, your changes will be merged
24+
25+
While you wait, feel free to:
26+
- ⭐ Star this repository if you haven't already
27+
- 📺 Subscribe to the [YouTube channel](https://www.youtube.com/@atefataya)
28+
- 🐦 Follow [@atef_ataya](https://twitter.com/atef_ataya) for updates
29+
30+
Thank you for being awesome! 🙏

0 commit comments

Comments
 (0)