Skip to content

Commit

Permalink
cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Jul 4, 2024
1 parent 5709a73 commit 8b9c557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/bc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Git Log
run: git --no-pager log --skip=1 --max-count=1
fetch-depth: 2 # fetch two commits so we can get the prev commit

- name: Get prev commit
run: echo "PREV_COMMIT=$(git --no-pager log --skip=1 --max-count=1 | grep commit | cut -d' ' -f2)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ paths:
tags:
- Test
responses:
"201":
"200":
description: Success
/partner-api/test/another-method:
get:
Expand Down

0 comments on commit 8b9c557

Please sign in to comment.