We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26cbe02 commit 4360ae7Copy full SHA for 4360ae7
.github/workflows/test_coverage.yml
@@ -12,6 +12,11 @@ jobs:
12
steps:
13
- name: Checkout code
14
uses: actions/checkout@v2
15
+ with:
16
+ # If this is a pull request, make sure we check out its head rather than the
17
+ # automatically generated merge commit, so that the coverage diff excludes
18
+ # unrelated changes in the base branch
19
+ ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}
20
21
- name: Yarn cache
22
uses: c-hive/gha-yarn-cache@v2
0 commit comments