File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-core
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-core@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Create wheel
1414 run : |
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-core
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-core@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Download wheel artifact
1414 uses : actions/download-artifact@v7
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-dev
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Security check
1414 run : |
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-dev
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Check with mypy
1414 run : |
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-dev
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Audit dependencies
1414 run : |
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-dev
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Test with pytest
1414 run : |
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-dev
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Check with ruff
1414 run : |
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/install-python-dev
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Validate pyproject.toml
1414 run : |
Original file line number Diff line number Diff line change 1212 steps :
1313 - uses : actions/checkout@v6
1414 - uses : ./.github/actions/setup/install-python-dev
15- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
15+ if : ${{ github.event. repository.name == 'template-python' }}
1616 - uses : javidahmed64592/template-python/.github/actions/setup/install-python-dev@main
17- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
17+ if : ${{ github.event. repository.name != 'template-python' }}
1818
1919 - name : Check version consistency
2020 run : |
Original file line number Diff line number Diff line change 66 steps :
77 - uses : actions/checkout@v6
88 - uses : ./.github/actions/setup/setup-uv-python
9- if : ${{ github.repository == 'javidahmed64592/ template-python' }}
9+ if : ${{ github.event. repository.name == 'template-python' }}
1010 - uses : javidahmed64592/template-python/.github/actions/setup/setup-uv-python@main
11- if : ${{ github.repository != 'javidahmed64592/ template-python' }}
11+ if : ${{ github.event. repository.name != 'template-python' }}
1212
1313 - name : Install dependencies
1414 run : |
You can’t perform that action at this time.
0 commit comments