From 78b502f8206a9a6b431ca78f3221e9d3c176fb0f Mon Sep 17 00:00:00 2001
From: Roberto Devesa <15369573+Roberdvs@users.noreply.github.com>
Date: Mon, 13 Nov 2023 14:58:16 +0100
Subject: [PATCH] Replace usage of SUPPORT_TOKEN PAT
---
.github/workflows/pull-request.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
index c567f17f..275c95eb 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -32,11 +32,11 @@ jobs:
- name: Adding comment to PR with preview link and validation results
uses: actions/github-script@v6
with:
- github-token: ${{ secrets.SUPPORT_TOKEN }}
+ github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Check **PR ${{ github.event.number }}** preview 👀
[https://x.test.empathy.co/preview/${{ github.event.number }}/index.html](https://x.test.empathy.co/preview/${{ github.event.number }}/index.html) `
- })
\ No newline at end of file
+ })