File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,23 @@ jobs:
239
239
echo "$generated"
240
240
echo
241
241
fi
242
+ run_cmd='gh workflow run update.yml'
243
+ if [[ "$base_branch" != "main" ]]; then
244
+ run_cmd+=" --ref $base_branch"
245
+ fi
246
+ echo '---'
247
+ echo
248
+ echo -n 'You can re-run the update by going to the '
249
+ echo -n '[workflow'"'"'s page](https://github.com/nix-community/nixvim/actions/workflows/update.yml) '
250
+ echo 'or by using the `gh` command:'
251
+ echo '```sh'
252
+ echo "$run_cmd"
253
+ echo '```'
254
+ echo
255
+ echo -n 'If needed, you can also specify workflow inputs on the command line, '
256
+ echo 'using the `-F --field`, `-f --raw-field`, or `--json` flags.'
257
+ echo 'See `gh workflow run --help`.'
258
+ echo
242
259
) > body.md
243
260
244
261
if [[ -n "$pr_num" ]]; then
You can’t perform that action at this time.
0 commit comments