Skip to content

Commit a848337

Browse files
authored
Fetch upstream tags in verify changelog (#746)
This fetches the upstream tags, so that "verify changelog" can check those. This is important for pull requests opened by external people. - [x] Does not require a CHANGELOG entry
1 parent a92752b commit a848337

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/check-migrations.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
- name: Checkout sources
5555
uses: actions/checkout@v4
5656

57+
# We need to fetch the upstream tags, as they are used to determine the latest release
58+
- name: “Fetch upstream tags”
59+
run: |
60+
git remote add upstream https://github.com/${{ github.event.pull_request.base.repo.full_name }}.git
61+
git fetch upstream --tags
62+
5763
- name: Install updates and dependencies
5864
run: .github/install-deps.sh
5965

0 commit comments

Comments
 (0)