File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ inputs:
7474 description : ' GPG Private Key Passphrase for the GPG Private Key with which to sign the commits in the PR to be created'
7575 required : false
7676 default : ' '
77+ extra-args :
78+ description : ' Extra arguments to pass to nix-update'
79+ required : false
80+ default : ' '
7781outputs :
7882 pull-request-number :
7983 description : ' The number of the opened pull request'
@@ -129,6 +133,7 @@ runs:
129133 GIT_COMMITTER_NAME : ${{ env.GIT_COMMITTER_NAME }}
130134 GIT_COMMITTER_EMAIL : ${{ env.GIT_COMMITTER_EMAIL }}
131135 PATH_TO_FLAKE_DIR : ${{ inputs.path-to-flake-dir }}
136+ EXTRA_ARGS : ${{ inputs.extra-args }}
132137 - name : Create PR
133138 id : create-pr
134139 uses : peter-evans/create-pull-request@v4
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ updatePackages() {
2828 continue
2929 fi
3030 echo " Updating package '$PACKAGE '."
31- nix-update --flake --commit " $PACKAGE " 1> /dev/null
31+ nix-update --flake --commit " $EXTRA_ARGS " " $ PACKAGE" 1> /dev/null
3232 done
3333}
3434
You can’t perform that action at this time.
0 commit comments