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:
|
env:
|
||||||
PKG_NAME: "terraform"
|
PKG_NAME: "terraform"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
statuses: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-product-version:
|
get-product-version:
|
||||||
name: "Determine intended Terraform version"
|
name: "Determine intended Terraform version"
|
||||||
|
|
Loading…
Reference in New Issue