Skip to content

Commit

Permalink
use git-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushi-agrawal-gladstone authored Sep 19, 2024
1 parent b308b6f commit 97cd027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/1_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ jobs:
GPML_FILE="${{ needs.get-gpml.outputs.gpml-file }}"
# Fetch the diff for the GPML file in the current PR
diff_output=$(gh pr diff "$PR_NUMBER")
diff_output=$(git-diff "$PR_NUMBER" -- "$GPML_FILE")
echo "$diff_output"
echo "diff_output=$diff_output" >> $GITHUB_ENV
Expand Down

0 comments on commit 97cd027

Please sign in to comment.