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

View file

@ -2,6 +2,9 @@ name: Build and Test
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
build: build:
# https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
permissions:
contents: read
name: Go CI name: Go CI
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy: