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 sloorush committed Nov 10, 2021
1 parent 1d65e6d commit f9d4364
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 f9d4364

Please sign in to comment.