mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 16:21:00 -05:00
ci: fetch the whole repo when setting build meta (#6017)
We need the whole repository history to get information about specific commits to set some build metadata, such as BUILD_VERSION.
This commit is contained in:
parent
82094c879b
commit
1d104357a5
2 changed files with 2 additions and 2 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set build metadata
|
- name: Set build metadata
|
||||||
run: |
|
run: |
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set build metadata
|
- name: Set build metadata
|
||||||
id: set-container-image-build-metadata
|
id: set-container-image-build-metadata
|
||||||
|
|
Loading…
Reference in a new issue