Skip to content

Commit

Permalink
replace with old base_ref for simplicity
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Jun 12, 2024
1 parent 96d1ffa commit 0f6c357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions get-modified-packages/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ runs:

- name: Fetch the base branch with enough history for a common merge-base commit
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}
git fetch origin ${{ github.base_ref }}
shell: bash

- name: Get modified packages
id: get-modified-packages
run: |
modified_packages=$(${GITHUB_ACTION_PATH}/get-modified-packages.sh origin/${{ github.event.pull_request.base.ref }})
modified_packages=$(${GITHUB_ACTION_PATH}/get-modified-packages.sh origin/${{ github.base_ref }})
echo "modified-packages=$modified_packages" >> $GITHUB_OUTPUT
shell: bash

Expand Down

0 comments on commit 0f6c357

Please sign in to comment.