File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 delete-branch : true
4646
4747 auto-merge :
48- if : ${{ github.event_name == 'pull_request' && (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' || github.event.pull_request.user.login == 'uv-lock-upgrader[bot]') }}
48+ if : ${{ github.repository == 'mscheltienne/template-python' && github. event_name == 'pull_request' && (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' || github.event.pull_request.user.login == 'uv-lock-upgrader[bot]') }}
4949 runs-on : ubuntu-latest
5050 steps :
5151 - name : Enable auto-merge for bot PRs
Original file line number Diff line number Diff line change 3131 path : ./doc/_build/html
3232
3333 deploy :
34- if : ${{ github.event_name == 'push' }}
34+ if : ${{ github.repository == 'mscheltienne/template-python' && github. event_name == 'push' }}
3535 needs : build
3636 timeout-minutes : 10
3737 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 3535 - run : template sys-info --developer
3636 - run : pytest template --cov=template --cov-report=xml --cov-config=pyproject.toml
3737 - uses : codecov/codecov-action@v5
38+ if : ${{ github.repository == 'mscheltienne/template-python' }}
3839 with :
3940 token : ${{ secrets.CODECOV_TOKEN }}
4041
6162 - run : template sys-info --developer
6263 - run : pytest template --cov=template --cov-report=xml --cov-config=pyproject.toml
6364 - uses : codecov/codecov-action@v5
65+ if : ${{ github.repository == 'mscheltienne/template-python' }}
6466 with :
6567 token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments