π Birthday Checker #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: π Birthday Checker | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| username: | |
| description: 'Your GitHub username (e.g. TheM1ddleM1n)' | |
| required: true | |
| type: string | |
| birthday: | |
| description: 'Your birthday (MM-DD, e.g. 06-05)' | |
| required: true | |
| type: string | |
| owner_token: | |
| description: 'Owner token (TheM1ddleM1n ONLY β leave blank otherwise)' | |
| required: false | |
| type: string | |
| permissions: | |
| contents: none | |
| jobs: | |
| birthday: | |
| 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: Run birthday checker | |
| env: | |
| BIRTHDAY_USERNAME: ${{ inputs.username }} | |
| BIRTHDAY_DATE: ${{ inputs.birthday }} | |
| OWNER_TOKEN_INPUT: ${{ inputs.owner_token }} | |
| OWNER_TOKEN_SECRET: ${{ secrets.OWNER_BIRTHDAY_TOKEN }} | |
| run: python birthday/birthday.py |