update pr creation
This commit is contained in:
parent
9855142340
commit
ca07122ee6
1 changed files with 2 additions and 4 deletions
6
.github/workflows/update.yml
vendored
6
.github/workflows/update.yml
vendored
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue