File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
19
19
uses : actions/checkout@v4
20
20
21
21
- name : Git Log
22
- run : git log -n2
22
+ run : git --no-pager log --skip=1 --max-count=1
23
23
24
24
- name : Get prev commit
25
- run : echo "PREV_COMMIT=$(git --no-pager log -n2 | grep commit | tail -n1 | cut -d' ' -f2)" >> $GITHUB_ENV
25
+ run : echo "PREV_COMMIT=$(git --no-pager log --skip=1 --max-count=1 | grep commit | cut -d' ' -f2)" >> $GITHUB_ENV
26
26
27
27
- name : Get prev file
28
28
run : echo "PREV_FILE=$(echo https://raw.githubusercontent.com/reuvenharrison/oas/${{ env.PREV_COMMIT }}/simple.yaml)" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 8
8
tags :
9
9
- Test
10
10
responses :
11
- " 201 " :
11
+ " 200 " :
12
12
description : Success
13
13
/partner-api/test/another-method :
14
14
get :
You can’t perform that action at this time.
0 commit comments