mirror of
https://github.com/status-im/consul.git
synced 2025-02-21 09:58:26 +00:00
ci: fix changelog check checkout (#9688)
* ci: fix changelog check checkout * use fetch-depth 0 to get all commits to find a merge-base
This commit is contained in:
parent
e48a96eac1
commit
27e80ce5be
1
.github/workflows/changelog-check.yml
vendored
1
.github/workflows/changelog-check.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
fetch-depth: 0 # by default the checkout action doesn't checkout all branches
|
||||||
- name: Check for changelog entry in diff
|
- name: Check for changelog entry in diff
|
||||||
run: |
|
run: |
|
||||||
# check if there is a diff in the .changelog directory
|
# check if there is a diff in the .changelog directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user