From: Jérôme Benoit Date: Wed, 30 Aug 2023 21:41:12 +0000 (+0200) Subject: build(ci): allow CI to run on Combine PRs X-Git-Tag: v1.2.21~42 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=18b41d7e5588482236ea5963a90f948accadc068;p=e-mobility-charging-stations-simulator.git build(ci): allow CI to run on Combine PRs Signed-off-by: Jérôme Benoit --- 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 }}