diff --git a/.github/workflows/check-new-versions.yaml b/.github/workflows/check-new-versions.yaml index 7199efad..adfc3148 100644 --- a/.github/workflows/check-new-versions.yaml +++ b/.github/workflows/check-new-versions.yaml @@ -18,6 +18,7 @@ jobs: with: path: eic-spack - name: Check for new versions and create issue + id: new_versions env: COMMENT_BOT_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash @@ -26,12 +27,17 @@ jobs: spack repo add --scope site ${GITHUB_WORKSPACE}/key4hep-spack spack repo add --scope site ${GITHUB_WORKSPACE}/eic-spack bash eic-spack/.github/scripts/checksum_new_versions.sh + echo "files=$(git diff --name-only | xargs)" >> $GITHUB_OUTPUT + echo "diffstat<> $GITHUB_OUTPUT + git diff --stat >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT - name: Create pull request uses: peter-evans/create-pull-request@v5 with: path: eic-spack branch-suffix: short-commit-hash - title: New package versions found + title: New package versions found for ${{ steps.new_versions.outputs.files }} body: | - New package versions found + New package versions found: + ${{ steps.new_versions.outputs.diffstat }} assignees: wdconinc