diff --git a/.github/workflows/autotools-cross-mips.yml b/.github/workflows/autotools-cross-mips.yml index 610e824cc..e272477eb 100644 --- a/.github/workflows/autotools-cross-mips.yml +++ b/.github/workflows/autotools-cross-mips.yml @@ -2,6 +2,8 @@ name: Autotools-cross-MIPS on: [push, pull_request] +permissions: read-all + jobs: AutoMakeBuild: @@ -60,7 +62,7 @@ jobs: cflags: -mips64r2 -mdsp, } steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Install QEMU run: sudo apt-get update && sudo apt-get install -y qemu-user - name: Install prebuilt toolchain diff --git a/.github/workflows/autotools.yml b/.github/workflows/autotools.yml index 9b9f26736..dc75c7ec3 100644 --- a/.github/workflows/autotools.yml +++ b/.github/workflows/autotools.yml @@ -2,6 +2,8 @@ name: Autotools on: [push, pull_request] +permissions: read-all + jobs: AutoMakeBuild: @@ -36,7 +38,7 @@ jobs: buildconfig: --enable-assertions --enable-custom-modes --enable-dred --enable-osce } steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 # No AutoMake on Mac so let's install it - name: Install AutoConf, AutoMake and LibTool on MacOSX if: matrix.config.os == 'macos-latest' diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 165f6b0c0..9ebfb8837 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -5,12 +5,14 @@ on: [push, pull_request] env: NDK_VERSION: 27.3.13750724 +permissions: read-all + jobs: CMakeVersionTest: name: Test build with CMake 3.16.0 runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 - name: Download models @@ -40,7 +42,7 @@ jobs: name: CMake MINGW runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 - name: Download models @@ -228,7 +230,7 @@ jobs: } steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 - name: Install AutoConf, AutoMake and LibTool # Needed for autogen.sh diff --git a/.github/workflows/dred.yml b/.github/workflows/dred.yml index a23efb2cf..f0ec981bc 100644 --- a/.github/workflows/dred.yml +++ b/.github/workflows/dred.yml @@ -6,6 +6,8 @@ on: [push, pull_request] env: NDK_VERSION: 27.3.13750724 +permissions: read-all + jobs: CMakeBuild: name: CMake/${{ matrix.config.name }} @@ -58,7 +60,7 @@ jobs: args: -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 } steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 - name: Install AutoConf, AutoMake and LibTool # Needed for autogen.sh @@ -108,7 +110,7 @@ jobs: automakeconfig: } steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 - name: Install AutoConf, AutoMake and LibTool on MacOSX diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 8956f41da..770a3ccab 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -2,6 +2,8 @@ name: Makefile on: [push, pull_request] +permissions: read-all + jobs: MakefileBuild: @@ -17,7 +19,7 @@ jobs: compiler: gcc, } steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Build run: make -f Makefile.unix -j 2 - name: Test diff --git a/.github/workflows/repository.yml b/.github/workflows/repository.yml index 3a062617e..dae65b93e 100644 --- a/.github/workflows/repository.yml +++ b/.github/workflows/repository.yml @@ -2,12 +2,14 @@ name: Repository on: [push, pull_request] +permissions: read-all + jobs: CheckTrailingWhiteSpaces: name: Check trailing white spaces runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: fetch-depth: 0 - name: Check Whitespaces