From 18b41d7e5588482236ea5963a90f948accadc068 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 30 Aug 2023 23:41:12 +0200 Subject: [PATCH] build(ci): allow CI to run on Combine PRs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 4 ++-- .github/workflows/combine-prs.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55c63168..a6c9aba7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} uses: sonarsource/sonarcloud-github-action@v2.0.0 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} build-dashboard: runs-on: ${{ matrix.os }} @@ -82,7 +82,7 @@ jobs: with: projectBaseDir: ui/web env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} build-docker: runs-on: ubuntu-latest diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine-prs.yml index 4d7fb83c..2d1618c2 100644 --- a/.github/workflows/combine-prs.yml +++ b/.github/workflows/combine-prs.yml @@ -18,3 +18,5 @@ jobs: - name: combine-prs id: combine-prs uses: github/combine-prs@v3.1.2 + with: + github_token: ${{ secrets.SECRET_TOKEN }} -- 2.34.1