disable hardened mode for other CI

This commit is contained in:
Samuel Newman
2026-02-04 13:33:48 -06:00
parent dbe7abedc2
commit b644060878
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -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
@@ -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