Skip to content

Commit

Permalink
Included permissions for GitHub action
Browse files Browse the repository at this point in the history
The default GitHub Action is write which is not required for this
action.
  • Loading branch information
naveensrinivasan authored and jcvernaleo committed Oct 26, 2021
1 parent c56a053 commit 31791ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Expand Up @@ -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:
Expand Down

0 comments on commit 31791ba

Please sign in to comment.