ci/update: link to workflow run in PR body

This commit is contained in:
Matt Sturgeon 2025-02-24 17:03:01 +00:00
parent 5cd74b54ad
commit 53f9d242ff
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -43,6 +43,8 @@ jobs:
repo: ${{ github.repository }}
base_branch: ${{ github.ref_name }}
pr_branch: update/${{ github.ref_name }}
workflow_run_id: ${{ github.run_id }}
workflow_run_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
steps:
- name: Checkout repository
@ -245,6 +247,9 @@ jobs:
fi
echo '---'
echo
echo -n 'This PR was most recently updated by workflow run '
echo "[$workflow_run_id]($workflow_run_url)."
echo
echo -n 'You can re-run the update by going to the '
echo -n '[workflow'"'"'s page](https://github.com/nix-community/nixvim/actions/workflows/update.yml) '
echo 'or by using the `gh` command:'