Skip to content

⭐ Invite New User on Star #36

⭐ Invite New User on Star

⭐ Invite New User on Star #36

name: ⭐ Invite New User on Star
on:
watch:
types: [started]
jobs:
invite-user:
name: πŸ™‹β€β™‚οΈ Invite New GitHub User
runs-on: ubuntu-latest
steps:
- name: πŸ“₯ Checkout Repository
uses: actions/checkout@v6
- name: 🐍 Set Up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: πŸ”„ Cache pip Dependencies
uses: actions/cache@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: πŸ“¦ Install Python Dependencies
run: |
python -m pip install --upgrade pip
if [ -f .github/workflows/requirements.txt ]; then
pip install -r .github/workflows/requirements.txt
fi
- name: πŸ€– Run Auto-Invite Script
run: python .github/workflows/AutoInviteToOrgByStar.py
env:
MY_GITHUB_KEY: ${{ secrets.MY_GITHUB_KEY }}
COMMUNITY_TEAM_ID: ${{ secrets.COMMUNITY_TEAM_ID }}