From a8fdfc3750808558a452865c51c259ce24e511e9 Mon Sep 17 00:00:00 2001 From: Ankit Choudhary Date: Tue, 23 Apr 2024 21:34:31 +0530 Subject: [PATCH] feat: use Personal Access Token so that subesequent workflows can be triggered --- .github/workflows/merge-preview.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge-preview.yml b/.github/workflows/merge-preview.yml index 10b4322..2cf31cb 100644 --- a/.github/workflows/merge-preview.yml +++ b/.github/workflows/merge-preview.yml @@ -7,9 +7,12 @@ on: jobs: preview: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: + # https://github.com/orgs/community/discussions/25702 - uses: actions/checkout@v2 + with: + token: ${{ secrets.PAT_TOKEN }} - uses: nwtgck/actions-merge-preview@develop with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.PAT_TOKEN }}