File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : 🎂 Birthday Checker
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ username :
6+ description : ' Your GitHub username (e.g. TheM1ddleM1n)'
7+ required : true
8+ type : string
9+ birthday :
10+ description : ' Your birthday (MM-DD, e.g. 06-05)'
11+ required : true
12+ type : string
13+ owner_token :
14+ description : ' Owner token (TheM1ddleM1n ONLY — leave blank otherwise)'
15+ required : false
16+ type : string
17+ permissions :
18+ contents : none
19+ jobs :
20+ birthday :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v6
25+ - name : Set up Python
26+ uses : actions/setup-python@v6
27+ with :
28+ python-version : ' 3.13'
29+ - name : Run birthday checker
30+ env :
31+ BIRTHDAY_USERNAME : ${{ inputs.username }}
32+ BIRTHDAY_DATE : ${{ inputs.birthday }}
33+ OWNER_TOKEN_INPUT : ${{ inputs.owner_token }}
34+ OWNER_TOKEN_SECRET : ${{ secrets.OWNER_BIRTHDAY_TOKEN }}
35+ run : python birthday/birthday.py
You can’t perform that action at this time.
0 commit comments