From 7cf626ab3859736f7b519d023ed35225d0ee72c1 Mon Sep 17 00:00:00 2001 From: curquiza Date: Thu, 26 Oct 2023 19:46:35 +0200 Subject: [PATCH] test --- .github/workflows/preview-info.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview-info.yml b/.github/workflows/preview-info.yml index 6349903c99..63be43ab36 100644 --- a/.github/workflows/preview-info.yml +++ b/.github/workflows/preview-info.yml @@ -2,6 +2,7 @@ name: Show preview on PRs on: pull_request: + types: [opened] env: GH_TOKEN: ${{ secrets.MEILI_BOT_GH_PAT }} @@ -15,10 +16,10 @@ jobs: - name: Prepare comment content run: | echo '# How to see the preview of the PR?' >> comment.txt - echo '' > comment.txt + echo '' >> comment.txt echo '⚠️ Accessible for internal Meili people only.' >> comment.txt echo '' >> comment.txt - echo "Go to this URL: https://website-git-deploy-preview-mei-16-meili.vercel.app/docs/branch%3A$CURRENT_BRANCH" > comment.txt + echo "Go to this URL: https://website-git-deploy-preview-mei-16-meili.vercel.app/docs/branch%3A$CURRENT_BRANCH" >> comment.txt echo '' >> comment.txt echo "Credentials to access the page are in the company\'s password manager as \"Docs deploy preview\"." >> comment.txt - name: Add comment to PR with preview information