diff --git a/.github/workflows/changelogs.yml b/.github/workflows/changelogs.yml index 37df0543e33..4681b6c8b46 100644 --- a/.github/workflows/changelogs.yml +++ b/.github/workflows/changelogs.yml @@ -75,8 +75,8 @@ jobs: run: | pip install python-bugzilla~=3.2.0 - CHANGED_FILES=$(git diff --name-only \ - ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}) + CHANGED_FILES=$(gh diff ${{ github.event.pull_request.number }} --name-only) + echo $CHANGED_FILES # Tracker file can be retrieved from the OBS/IBS API # by calling 'osc api /issue_trackers/' (with authentication)