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]
|
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:
|
||||||
|
|
Loading…
Reference in a new issue