Included permissions for GitHub action
The default GitHub Action is write which is not required for this action.
This commit is contained in:
parent
c56a053fdf
commit
31791ba4dc
1 changed files with 3 additions and 0 deletions
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue