Include the entire git history in the work-flows (issue 16366)

Without this change we're not able to correctly determine the version number, please refer to https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
This commit is contained in:
Jonas Jenwald 2023-04-28 11:42:19 +02:00
parent f28d915a42
commit 7c1e505f6a
3 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,8 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 18 LTS - name: Use Node.js 18 LTS
uses: actions/setup-node@v3 uses: actions/setup-node@v3

View File

@ -19,6 +19,8 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v2

View File

@ -11,6 +11,8 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 18 LTS - name: Use Node.js 18 LTS
uses: actions/setup-node@v3 uses: actions/setup-node@v3