From 438eb23526ee9bb6be81d1468cc93e29ceb540ba Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Wed, 24 Aug 2022 12:05:31 +0200 Subject: [PATCH] fix(ci): add support_token when checking out repository (#672) EX-6308 --- .github/workflows/build.yml | 3 ++- .github/workflows/prepare-release.yml | 1 + .github/workflows/publish-release.yml | 1 + .github/workflows/release-alpha.yml | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e91e28b454..cd0765b186 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,6 @@ name: Check branch is releasable and release alpha on main branch update on: [push, pull_request] -concurrency: +concurrency: group: ${{ github.workflow }}-${{ github.ref_name }} cancel-in-progress: true jobs: @@ -11,6 +11,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + token: ${{ secrets.SUPPORT_TOKEN }} - name: Install lerna and all packages run: npm ci - name: Run linter in all packages diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 7c3c319da0..71a39eefb2 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -7,6 +7,7 @@ jobs: steps: - uses: actions/checkout@v2 with: + token: ${{ secrets.SUPPORT_TOKEN }} fetch-depth: 0 - name: Install lerna and all packages run: npm ci diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 2faa149b82..821f2f2378 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -11,6 +11,7 @@ jobs: steps: - uses: actions/checkout@v2 with: + token: ${{ secrets.SUPPORT_TOKEN }} fetch-depth: 0 - name: Install lerna and all packages run: npm ci diff --git a/.github/workflows/release-alpha.yml b/.github/workflows/release-alpha.yml index 2a8bb3ca7f..5e4671d5fb 100644 --- a/.github/workflows/release-alpha.yml +++ b/.github/workflows/release-alpha.yml @@ -8,6 +8,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + token: ${{ secrets.SUPPORT_TOKEN }} - name: Install lerna and all packages run: npm ci - name: Run linter in all packages