summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-08-20 11:53:43 +0000
committerGitHub <noreply@github.com>2023-08-20 11:53:43 +0000
commit0446c13177fe50404515efebe5dd8a6b9af3dbcd (patch)
tree26e57c35b4dde78d56c4b412a276a15a111babb8
parent9bd8efd59e1aa8513050042448a3717e6d58550c (diff)
parent66f491f171bf6d9b8f2abe8fc2f5d9dd90ef9edb (diff)
Merge pull request #219 from themoeway/fix-workflow-permissions
Restrict workflow permissions to satisfy OSSF Scorecard
-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