update pr creation

This commit is contained in:
zack 2024-10-19 23:04:50 -04:00
parent 9855142340
commit ca07122ee6
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -72,12 +72,10 @@ jobs:
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
pr_number=$(gh pr create --title "Auto-update Nix flake dependencies" \ gh pr create --title "Auto-update Nix flake dependencies" \
--body "This PR updates the Nix flake dependencies." \ --body "This PR updates the Nix flake dependencies." \
--base main \ --base main \
--head ${{ env.BRANCH_NAME }} \ --head ${{ env.BRANCH_NAME }}
--json number --jq .number)
echo "pr_number=$pr_number" >> $GITHUB_OUTPUT
- name: Trigger Hydra build - name: Trigger Hydra build
if: steps.update-flake.outputs.CHANGED == 'true' if: steps.update-flake.outputs.CHANGED == 'true'