mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-06 02:55:40 +08:00
ci: skip full checkout on pre-ci on pull requests (@fehmer) (#5738)
* ci: skip full checkout on pre-ci on pull requests (@fehmer) * review comments --------- Co-authored-by: Jack <jack@monkeytype.com>
This commit is contained in:
parent
613687cbf8
commit
6c18504c83
1 changed files with 7 additions and 2 deletions
9
.github/workflows/monkey-ci.yml
vendored
9
.github/workflows/monkey-ci.yml
vendored
|
|
@ -33,8 +33,13 @@ jobs:
|
|||
assets-json: ${{ steps.export-changes.outputs.assets-json }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
- name: Full checkout
|
||||
uses: actions/checkout@v4
|
||||
# paths filter doesn't need checkout on pr
|
||||
if: github.event_name != 'pull_request'
|
||||
|
||||
- name: Detect changes
|
||||
uses: dorny/paths-filter@v3
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue