diff options
author | Paulo Gomes <pjbgf@linux.com> | 2023-03-02 20:37:48 +0000 |
---|---|---|
committer | Paulo Gomes <pjbgf@linux.com> | 2023-03-02 20:37:48 +0000 |
commit | eea852163223637049cc1b3636daf160169b7bd2 (patch) | |
tree | e7e81fda9ade879ab6cd2aeabb46f4fa37d5c351 /.github | |
parent | 296eb7692f64f85aea011a790915f15ed0d1d4c6 (diff) | |
download | go-git-eea852163223637049cc1b3636daf160169b7bd2.tar.gz |
build: Reduce git token permissions
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/git.yml | 3 | ||||
-rw-r--r-- | .github/workflows/test.yml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml index fcec675..f3dbe47 100644 --- a/.github/workflows/git.yml +++ b/.github/workflows/git.yml @@ -1,5 +1,8 @@ on: [push, pull_request] name: Git Compatibility +permissions: + contents: read + jobs: test: strategy: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b576d38..a7b614b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,8 @@ on: [push, pull_request] name: Test +permissions: + contents: read + jobs: version-matrix: strategy: |