Skip to content

Commit

Permalink
Fix label in PR validation comparison plots (#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvami authored Feb 6, 2025
1 parent a34747b commit 2723bfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/validate/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ __main__() {
# compare has 4 CLI inputs:
# gold_f, gold_label, test_f, test_label
ldmx python3 $GITHUB_ACTION_PATH/compare.py \
gold.root $(ldmx_gold_label) hist.root ${GITHUB_REF} || return $?
gold.root $(ldmx_gold_label) hist.root ${HEAD_REF} || return $?

# print log diff into output directory
cp -t ${_sample_dir}/plots gold.log output.log || return $?
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.issue.number }}")
HEAD_REF=$(echo "$PR_DATA" | jq -r .head.ref)
echo "HEAD_REF=$HEAD_REF" >> $GITHUB_ENV
echo "GITHUB_REF=$HEAD_REF" >> "$GITHUB_ENV"
- name: Checkout ldmx-sw
uses: actions/checkout@v4
Expand Down

0 comments on commit 2723bfb

Please sign in to comment.