mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
CI: Force pull requests to fetch history (#9720)
Previous implementation only fetched the latest changes made in the current branch. Since the CI pipeline only triggers on the latest pushed commit, this means linting errors could previously be avoided due to having multiple commits in a single push.
This commit is contained in:
parent
7a623c4b19
commit
58ebe9abed
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -21,6 +21,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 100 # assumes PR/push to master is no larger than 100 commits. Other solutions are needlessly complex.
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user