File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ⭐ Invite New User on Star
2+
3+ on :
4+ watch :
5+ types : [started]
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ invite-user :
12+ name : 🙋♂️ Invite New GitHub User
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : 📥 Checkout Repository
17+ uses : actions/checkout@v6
18+ with :
19+ persist-credentials : false
20+
21+ - name : 🐍 Set Up Python
22+ uses : actions/setup-python@v6
23+ with :
24+ python-version : ' 3.13'
25+
26+ - name : 🔄 Cache pip Dependencies
27+ uses : actions/cache@v5
28+ with :
29+ path : ~/.cache/pip
30+ key : ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/requirements.txt') }}
31+ restore-keys : |
32+ ${{ runner.os }}-pip-
33+
34+ - name : 📦 Install Python Dependencies
35+ run : |
36+ python -m pip install --upgrade pip
37+ if [ -f .github/workflows/requirements.txt ]; then
38+ pip install -r .github/workflows/requirements.txt
39+ fi
40+
41+ - name : 🤖 Run Auto-Invite Script
42+ run : python .github/workflows/AutoInviteToOrgByStar.py
43+ env :
44+ MY_GITHUB_KEY : ${{ secrets.MY_GITHUB_KEY }}
45+ COMMUNITY_TEAM_ID : ${{ secrets.COMMUNITY_TEAM_ID }}
You can’t perform that action at this time.
0 commit comments