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 6299707 commit 35802d9Copy full SHA for 35802d9
.github/workflows/test.yml
@@ -17,8 +17,11 @@ jobs:
17
fetch-depth: 0
18
- name: "Extracting the merge base into 'SINCE'"
19
id: since
20
+ env:
21
+ PR_REF: ${{ github.event.pull_request.head.ref }}
22
+
23
run: |
- if [ -z "${{ github.event.pull_request.head.ref }}" ]
24
+ if [ -z $PR_REF ]
25
then
26
echo "SINCE=${{ github.sha }}^1" >> $GITHUB_OUTPUT
27
else
@@ -53,8 +56,10 @@ jobs:
53
56
54
57
55
58
59
60
61
62
63
64
65
0 commit comments