Skip to content

Commit

Permalink
Fix workflow that bumps the CUDA-Q commit (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhowe23 authored Jan 11, 2025
1 parent 4f96465 commit b9a154e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update-cudaq-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- name: Commit and push changes
if: ${{ steps.check_change.outputs.changed == 'true' }}
id: commit_and_push
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
Expand All @@ -55,11 +56,13 @@ jobs:
git add .cudaq_version
git commit -m "Update dependency SHA to ${{ env.sha }}"
git push origin $BRANCH_NAME
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_OUTPUT
- name: Create Pull Request
if: ${{ steps.check_change.outputs.changed == 'true' }}
env:
GITHUB_TOKEN: ${{ github.token }}
BRANCH_NAME: ${{ steps.commit_and_push.outputs.BRANCH_NAME }}
run: |
gh pr create \
--title "Bump CUDA-Q commit" \
Expand Down

0 comments on commit b9a154e

Please sign in to comment.