From: Jérôme Benoit Date: Sat, 6 May 2023 22:04:56 +0000 (+0200) Subject: build(ci): silence GH actions warnings X-Git-Tag: v2.4.13~18 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=85bdfa4f5efbb1a8d422a4ebd9d2e530d55ddb05;p=poolifier.git build(ci): silence GH actions warnings Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 112e3ac4f..e0ec4013e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,11 +52,11 @@ jobs: run: pnpm test - name: Coverage Report - if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'" + if: ${{ github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} run: pnpm coverage - name: Sonar Code Analysis - if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'" + if: ${{ github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} uses: sonarsource/sonarcloud-github-action@v1.9.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml index 2ba7833ec..d42848746 100644 --- a/.github/workflows/generate-documentation.yml +++ b/.github/workflows/generate-documentation.yml @@ -28,7 +28,7 @@ jobs: pnpm typedoc - name: Commit files - if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'" + if: ${{ github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' }} run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" @@ -36,7 +36,7 @@ jobs: git commit -m "chore: generate documentation" -a - name: Push changes - if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'" + if: ${{ github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/${{ github.event.repository.default_branch }}' }} uses: CasperWA/push-protected@v2 with: token: ${{ secrets.GH_TOKEN_PROTECTED }}