summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2022-12-14 19:28:43 -0800
committerGitHub <noreply@github.com>2022-12-14 19:28:43 -0800
commitf5c872319ae58ab8407b38e9ffd5af83e72644d7 (patch)
tree18b2a8b6b010d7d2b1c0b1e92f57fd6916ff8317 /.github
parent9a1b418672b72d255bc2d90a854f176622a695fa (diff)
parent95a349276187de1e88475f88a3c1cb1517086ff7 (diff)
downloadisort-f5c872319ae58ab8407b38e9ffd5af83e72644d7.tar.gz
Merge pull request #1969 from varunsh-coder/token-perms
chore(ci): add minimum GitHub token permissions for workflows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/integration.yml3
-rw-r--r--.github/workflows/lint.yml3
-rw-r--r--.github/workflows/test.yml3
3 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index 9decabbd..f26a0c9f 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -2,6 +2,9 @@ name: Integration
on: [push, pull_request]
+permissions:
+ contents: read
+
jobs:
build:
runs-on: ubuntu-latest
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index a395f239..0c67934f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -2,6 +2,9 @@ name: Lint
on: [push, pull_request]
+permissions:
+ contents: read
+
jobs:
build:
runs-on: ubuntu-latest
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ee748517..b9f63c8b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -2,6 +2,9 @@ name: Test
on: [push, pull_request]
+permissions:
+ contents: read
+
jobs:
build:
runs-on: ${{ matrix.os }}