Browse Source

Fix fetch-tags in dependency change detector workflow

pull/25279/head
maliming 6 months ago
parent
commit
b0517bc771
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 7
      .github/workflows/nuget-packages-version-change-detector.yml
  2. 2
      docs/en/package-version-changes.md

7
.github/workflows/nuget-packages-version-change-detector.yml

@ -43,10 +43,11 @@ jobs:
with: with:
ref: ${{ github.event.pull_request.head.ref }} ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 1 fetch-depth: 1
fetch-tags: true
- name: Fetch base branch - name: Fetch base branch and tags
run: git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }} --depth=1 run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }} --depth=1
git fetch --tags origin
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:

2
docs/en/package-version-changes.md

@ -7,7 +7,7 @@
# Package Version Changes # Package Version Changes
## 10.3.0 ## 10.3.1
| Package | Old Version | New Version | PR | | Package | Old Version | New Version | PR |
|---------|-------------|-------------|-----| |---------|-------------|-------------|-----|

Loading…
Cancel
Save