From 31791ba4dc6ef913b1e8eb7bfb6746b1a118e405 Mon Sep 17 00:00:00 2001 From: naveen <172697+naveensrinivasan@users.noreply.github.com> Date: Fri, 17 Sep 2021 16:03:07 +0000 Subject: [PATCH] Included permissions for GitHub action The default GitHub Action is write which is not required for this action. --- .github/workflows/go.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c7ffb79033..5da1bebc63 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,6 +2,9 @@ name: Build and Test on: [push, pull_request] jobs: build: + # https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/ + permissions: + contents: read name: Go CI runs-on: ubuntu-latest strategy: