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