Edit PR Description instead of commenting
We could include the magic comments in the PR template so the various automated comments were always in the same order, if we wanted.
This commit is contained in:
parent
bbdee0d83b
commit
1fe5ace8ed
1 changed files with 6 additions and 5 deletions
11
.github/workflows/netflify.yaml
vendored
11
.github/workflows/netflify.yaml
vendored
|
@ -68,12 +68,13 @@ jobs:
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
- name: Comment on PR
|
- name: Edit PR Description
|
||||||
uses: phulsechinmay/rewritable-pr-comment@v0.3.0
|
uses: velas/pr-description@v1.0.1
|
||||||
with:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ISSUE_ID: ${{ steps.readctx.outputs.prnumber }}
|
with:
|
||||||
message: |
|
pull-request-number: ${{ steps.readctx.outputs.prnumber }}
|
||||||
|
description-message: |
|
||||||
Preview: ${{ steps.netlify.outputs.deploy-url }}
|
Preview: ${{ steps.netlify.outputs.deploy-url }}
|
||||||
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.
|
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue