Skip to content

Commit

Permalink
tweaked git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Dec 13, 2023
1 parent 2212434 commit 2c2d321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/jenkins-agent-python-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Check if version.json has been bumped
id: changes
run: echo "changed=$(git --no-pager diff --name-only origin/master origin/${GITHUB_HEAD_REF} | grep "${context}/version.json" | wc -l)" >> $GITHUB_OUTPUT
run: echo "changed=$(git --no-pager diff --name-only origin/master HEAD | grep "${context}/version.json" | wc -l)" >> $GITHUB_OUTPUT

- name: Fail if version.json not bumped
if: steps.changes.outputs.changed == 0
Expand Down

0 comments on commit 2c2d321

Please sign in to comment.