Skip to content

Commit

Permalink
ci/update: link to workflow run in PR body
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Feb 24, 2025
1 parent 5cd74b5 commit 53f9d24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:'
Expand Down

0 comments on commit 53f9d24

Please sign in to comment.