aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-03-02 20:37:48 +0000
committerPaulo Gomes <pjbgf@linux.com>2023-03-02 20:37:48 +0000
commiteea852163223637049cc1b3636daf160169b7bd2 (patch)
treee7e81fda9ade879ab6cd2aeabb46f4fa37d5c351 /.github
parent296eb7692f64f85aea011a790915f15ed0d1d4c6 (diff)
downloadgo-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.yml3
-rw-r--r--.github/workflows/test.yml3
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: