Replace pull request action with one actively maintained (#1004)
* Replace pull request action with one actively maintained * Add comment_tag to stop duplicate comments
This commit is contained in:
parent
97e7ba25a6
commit
52cbcb9128
1 changed files with 5 additions and 4 deletions
9
.github/workflows/deploy-pull-request.yml
vendored
9
.github/workflows/deploy-pull-request.yml
vendored
|
@ -42,12 +42,13 @@ jobs:
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE3_ID }}
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE3_ID }}
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
- name: Edit PR Description
|
- name: Comment preview on PR
|
||||||
uses: Beakyn/gha-comment-pull-request@2167a7aee24f9e61ce76a23039f322e49a990409
|
uses: thollander/actions-comment-pull-request@c22fb302208b7b170d252a61a505d2ea27245eff
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
pull-request-number: ${{ steps.pr.outputs.id }}
|
pr_number: ${{ steps.pr.outputs.id }}
|
||||||
description-message: |
|
comment_tag: ${{ steps.pr.outputs.id }}
|
||||||
|
message: |
|
||||||
Preview: ${{ steps.netlify.outputs.deploy-url }}
|
Preview: ${{ steps.netlify.outputs.deploy-url }}
|
||||||
⚠️ Exercise caution. Use test accounts. ⚠️
|
⚠️ Exercise caution. Use test accounts. ⚠️
|
Loading…
Reference in a new issue