diff options
author | Varun Sharma <varunsh@stepsecurity.io> | 2022-09-14 07:31:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 22:31:30 +0800 |
commit | bd1e5db7f4f1c693c5ec8ead4b9440d88b3dcf84 (patch) | |
tree | 6485472732e6675420fbc0501a2d01c7951d2579 /.github | |
parent | 0d77664aa1e40c7abd641846e95341d6346466ae (diff) | |
download | thrift-bd1e5db7f4f1c693c5ec8ead4b9440d88b3dcf84.tar.gz |
add minimum GitHub token permissions for workflows (#2664)
Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>
Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 3 | ||||
-rw-r--r-- | .github/workflows/cmake.yml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b615060a8..d3dc5d031 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,9 @@ on: env: BUILD_DEPS: automake bison flex git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config +permissions: + contents: read + jobs: # TODO windows and macos compiler: diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5ae7ba73a..69b8cbe8d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -9,6 +9,9 @@ on: env: BUILD_DEPS: bison flex g++ libboost-all-dev libevent-dev libssl-dev make cmake +permissions: + contents: read + jobs: compiler: runs-on: ubuntu-20.04 |