Skip to content

Commit

Permalink
feat: add useful title and body to check-new-versions.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored Mar 5, 2024
1 parent 0a7c8b2 commit 412d1e0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/check-new-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<<EOF" >> $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

0 comments on commit 412d1e0

Please sign in to comment.