From: Viktor Szakats Date: Sun, 7 Apr 2024 10:01:25 +0000 (+0000) Subject: GHA: disable permissions where missing X-Git-Tag: curl-8_8_0~272 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41e07d836f177200ddf945f396255f2c1cb2c3ab;p=thirdparty%2Fcurl.git GHA: disable permissions where missing Reviewed-by: Daniel Stenberg Closes #13306 --- diff --git a/.github/workflows/badwords.yml b/.github/workflows/badwords.yml index 0165d9bfbe..06b1407856 100644 --- a/.github/workflows/badwords.yml +++ b/.github/workflows/badwords.yml @@ -15,6 +15,8 @@ on: branches: - master +permissions: {} + jobs: check: diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 2b095dae75..7a7b744a59 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -20,6 +20,8 @@ on: - 'src/**' - 'include/**' +permissions: {} + jobs: codespell: runs-on: ubuntu-latest diff --git a/.github/workflows/distcheck.yml b/.github/workflows/distcheck.yml index 15068b640b..1a644ef7d1 100644 --- a/.github/workflows/distcheck.yml +++ b/.github/workflows/distcheck.yml @@ -17,6 +17,8 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true +permissions: {} + jobs: maketgz-and-verify-in-tree: runs-on: ubuntu-latest diff --git a/.github/workflows/man-examples.yml b/.github/workflows/man-examples.yml index 6f0d1e8ae4..2382b670a6 100644 --- a/.github/workflows/man-examples.yml +++ b/.github/workflows/man-examples.yml @@ -21,6 +21,8 @@ on: - 'docs/libcurl/opts/*.3' - '.github/scripts/verify-examples.pl' +permissions: {} + jobs: verify: runs-on: ubuntu-latest diff --git a/.github/workflows/synopsis.yml b/.github/workflows/synopsis.yml index 0938f4bfc9..0e7f0a6d13 100644 --- a/.github/workflows/synopsis.yml +++ b/.github/workflows/synopsis.yml @@ -17,6 +17,8 @@ on: paths: - 'docs/libcurl/curl_*.3' +permissions: {} + jobs: verify: runs-on: ubuntu-latest