aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-08-20 20:48:27 +0900
committerGitHub <noreply@github.com>2023-08-20 20:48:27 +0900
commit66f491f171bf6d9b8f2abe8fc2f5d9dd90ef9edb (patch)
tree3502273f3dc7515aef0b0b579e69cc17cfdabe8f /.github/workflows
parent548ded596c9a15ae14335961c1a05995388a6dd6 (diff)
Restrict workflow permissions to satisfy OSSF Scorecard
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/auto-approve-run.yml1
-rw-r--r--.github/workflows/auto-approve.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/auto-approve-run.yml b/.github/workflows/auto-approve-run.yml
index e0605a42..45c169ba 100644
--- a/.github/workflows/auto-approve-run.yml
+++ b/.github/workflows/auto-approve-run.yml
@@ -4,6 +4,7 @@ on:
workflows: [Auto-Approve Safe PRs]
types:
- completed
+permissions: {}
jobs:
auto-approve-run:
runs-on: ubuntu-latest
diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml
index 5dd3831d..250903fc 100644
--- a/.github/workflows/auto-approve.yml
+++ b/.github/workflows/auto-approve.yml
@@ -1,5 +1,6 @@
name: Auto-Approve Safe PRs
on: pull_request
+permissions: {}
jobs:
auto-approve:
runs-on: ubuntu-latest