File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3737 # To be able to commit it needs the head branch of the PR, the remote one
3838 ref : ${{ github.event.pull_request.head.sha }}
3939 fetch-depth : 0
40+ - name : Prepare env file for hooks
41+ run : cp .env.example .env
4042 - uses : oven-sh/setup-bun@v2
4143 - name : Set up Python
4244 uses : actions/setup-python@v6
7476 with :
7577 msg : 🎨 Auto format and update with pre-commit
7678 - name : Error out on pre-commit errors
77- if : steps.precommit.outcome == 'failure'
79+ if : steps.precommit.outcome == 'failure' && env.HAS_SECRETS == 'true'
7880 run : exit 1
7981
8082 # https://github.com/marketplace/actions/alls-green#why
Original file line number Diff line number Diff line change 2727 - run : smokeshow upload backend/htmlcov
2828 env :
2929 SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Coverage {coverage-percentage}
30- SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 90
30+ SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 30
3131 SMOKESHOW_GITHUB_CONTEXT : coverage
3232 SMOKESHOW_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3333 SMOKESHOW_GITHUB_PR_HEAD_SHA : ${{ github.event.workflow_run.head_sha }}
You can’t perform that action at this time.
0 commit comments