build: Constrain permissions for the "build" workflow steps
This workflow only generates artifacts and doesn't need to modify anything about the repository.
This commit is contained in:
parent
3bf758eaf5
commit
c1699ea80c
|
@ -18,6 +18,10 @@ on:
|
|||
env:
|
||||
PKG_NAME: "terraform"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
statuses: write
|
||||
|
||||
jobs:
|
||||
get-product-version:
|
||||
name: "Determine intended Terraform version"
|
||||
|
|
Loading…
Reference in New Issue