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 5e6ab4f commit 8ca3e78Copy full SHA for 8ca3e78
.github/workflows/test-and-build.yml
@@ -1,10 +1,7 @@
1
name: Test Suite
2
3
on:
4
- push:
5
- branches: [main]
6
pull_request:
7
- # The branches below must be a subset of the branches above
8
branches: [main]
9
10
jobs:
@@ -17,7 +14,7 @@ jobs:
17
14
- name: Checkout code
18
15
uses: actions/checkout@v2
19
16
with:
20
- ref: ${{ if github.event_name == 'pull_request' }}${{ github.event.pull_request.head.sha }}${{ else }}${{ github.ref }}${{ endif }}
+ ref: ${{ github.event.pull_request.head.sha }}
21
fetch-depth: 0
22
23
- name: Use Node.js ${{ matrix.node-version }}
0 commit comments