diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3add03157d..def26159c4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,7 +26,7 @@ jobs: - name: Yarn install uses: Wandalen/wretry.action@master with: - command: yarn install --immutable + command: YARN_ENABLE_HARDENED_MODE=0 yarn install --immutable attempt_limit: 3 attempt_delay: 2000 - name: Lint check @@ -55,7 +55,7 @@ jobs: - name: Yarn install uses: Wandalen/wretry.action@master with: - command: yarn install --immutable + command: YARN_ENABLE_HARDENED_MODE=0 yarn install --immutable attempt_limit: 3 attempt_delay: 2000 - name: Check & compile i18n diff --git a/.github/workflows/pull-request-commit.yml b/.github/workflows/pull-request-commit.yml index 93159a8e9a..2df6f2db57 100644 --- a/.github/workflows/pull-request-commit.yml +++ b/.github/workflows/pull-request-commit.yml @@ -54,6 +54,7 @@ jobs: - name: Merge PR commit env: HEAD_REF: ${{ github.head_ref }} + YARN_ENABLE_HARDENED_MODE: "0" run: | # Have to set a git config for the merge to work git config --global user.email "github-actions[bot]@users.noreply.github.com" @@ -82,6 +83,8 @@ jobs: - name: 🔦 Generate stats file from base commit if: ${{ !steps.get-base-stats.outputs.cache-hit }} + env: + YARN_ENABLE_HARDENED_MODE: "0" run: | yarn install yarn intl:build @@ -109,6 +112,8 @@ jobs: fingerprint-native: runs-on: ubuntu-22.04 if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.event_name == 'pull_request'}} + env: + YARN_ENABLE_HARDENED_MODE: "0" steps: - name: ⬇️ Checkout uses: actions/checkout@v4