Update some actions to disable some permissions checks

This commit is contained in:
Ian Bell
2025-04-10 19:34:05 -04:00
parent f1062f6285
commit 7b557306b2
2 changed files with 8 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ jobs:
- uses: actions/checkout@v4.2.2
with:
submodules: recursive
- name: Workaround bug with checkout in actions
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: actions/cache@v3
if: ${{ !env.ACT }} # skip during local actions testing

View File

@@ -26,6 +26,10 @@ jobs:
with:
submodules: recursive
- name: Workaround bug with checkout in actions
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
- uses: actions/setup-python@v4
with:
python-version: '3.x'