diff --git a/.github/workflows/check-line-endings.yml b/.github/workflows/check-line-endings.yml index 3891aec09..4a9a56310 100644 --- a/.github/workflows/check-line-endings.yml +++ b/.github/workflows/check-line-endings.yml @@ -6,6 +6,9 @@ on: branches: - master +permissions: + contents: read + jobs: check-line-endings: name: Enforce .gitattributes line endings diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66571392b..ae3c927f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: branches: - master +permissions: + contents: read + jobs: test-msvc-cppwinrt-build: name: '${{ matrix.compiler }}: Build (${{ matrix.arch }}, ${{ matrix.config }}, ${{ matrix.toolchain.platform_toolset }})'