Fix CodeSQL permissions (#412)

This commit is contained in:
Brandon Weeks 2025-03-05 12:06:09 -08:00 committed by GitHub
parent dce70c6163
commit 7d4525c388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,10 @@ on:
branches: [master]
pull_request:
permissions:
contents: read
security-events: write
# Workaround for SHA1 on Go 1.18. There are some kinks to be worked out. See
# the tracking issue for more info: https://github.com/golang/go/issues/41682
env:

2
go.mod
View File

@ -2,6 +2,8 @@ module github.com/google/go-attestation
go 1.24
toolchain go1.24.1
require (
github.com/google/go-cmp v0.7.0
github.com/google/go-tpm v0.9.3