Skip to content

Commit 53f9d24

Browse files
committed
ci/update: link to workflow run in PR body
1 parent 5cd74b5 commit 53f9d24

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/update.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
repo: ${{ github.repository }}
4444
base_branch: ${{ github.ref_name }}
4545
pr_branch: update/${{ github.ref_name }}
46+
workflow_run_id: ${{ github.run_id }}
47+
workflow_run_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
4648

4749
steps:
4850
- name: Checkout repository
@@ -245,6 +247,9 @@ jobs:
245247
fi
246248
echo '---'
247249
echo
250+
echo -n 'This PR was most recently updated by workflow run '
251+
echo "[$workflow_run_id]($workflow_run_url)."
252+
echo
248253
echo -n 'You can re-run the update by going to the '
249254
echo -n '[workflow'"'"'s page](https://github.com/nix-community/nixvim/actions/workflows/update.yml) '
250255
echo 'or by using the `gh` command:'

0 commit comments

Comments
 (0)