Skip to content

Commit 8b9c557

Browse files
author
Reuven
committed
cleanup workflow
1 parent 5709a73 commit 8b9c557

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Diff for: .github/workflows/bc.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ jobs:
1818
- name: Check out code
1919
uses: actions/checkout@v4
2020
with:
21-
fetch-depth: 2
22-
23-
- name: Git Log
24-
run: git --no-pager log --skip=1 --max-count=1
21+
fetch-depth: 2 # fetch two commits so we can get the prev commit
2522

2623
- name: Get prev commit
2724
run: echo "PREV_COMMIT=$(git --no-pager log --skip=1 --max-count=1 | grep commit | cut -d' ' -f2)" >> $GITHUB_ENV

Diff for: simple.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ paths:
88
tags:
99
- Test
1010
responses:
11-
"201":
11+
"200":
1212
description: Success
1313
/partner-api/test/another-method:
1414
get:

0 commit comments

Comments
 (0)