Included permissions for GitHub action

The default GitHub Action is write which is not required for this
action.
This commit is contained in:
naveen 2021-09-17 16:03:07 +00:00 committed by John C. Vernaleo
parent c56a053fdf
commit 31791ba4dc
1 changed files with 3 additions and 0 deletions

View File

@ -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: