Skip to content

Commit

Permalink
Updated commit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Mar 15, 2024
1 parent c7db410 commit f701755
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
name: Bump spack.yaml
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '!bump')
runs-on: ubuntu-latest
permissions:
pull-requests: write
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -32,8 +33,8 @@ jobs:
run: |
# Get the version of access-om2 from the spack.yaml in the PR the comment was written in
gh pr checkout ${{ github.event.issue.number }}
access-om2-package=$(yq e '${{ env.SPACK_YAML_MODEL_YQ }}' spack.yaml)
original_version=${access-om2-package/*@git./}
access_om2_package=$(yq e '${{ env.SPACK_YAML_MODEL_YQ }}' spack.yaml)
original_version=${access_om2_package/*@git./}
echo "original-version=${original_version}" >> $GITHUB_OUTPUT
# Validate the comment
Expand Down

0 comments on commit f701755

Please sign in to comment.