From 85465e89d986c840bf3743b7afd2e967f4eb5186 Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Wed, 12 Apr 2023 10:36:41 -0400 Subject: [PATCH] workflows/go-test: add permissions to workflow --- .github/workflows/go-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 9bae84988..b7d34ff7e 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -1,5 +1,4 @@ name: go-test - on: push: branches: @@ -7,13 +6,11 @@ on: pull_request: branches: - main - - env: TEST_RESULTS_PATH: /tmp/test-results - +permissions: + contents: read jobs: - linux-tests: runs-on: ubuntu-latest strategy: