From ae0cb7ba98f2da8d6a4c38c674de10422388094f Mon Sep 17 00:00:00 2001 From: Andres Guzman-Ballen Date: Mon, 15 Apr 2024 16:46:28 -0500 Subject: [PATCH] Comply with OpenSSF enforcement --- .github/workflows/conda-package.yml | 3 +++ .github/workflows/pre-commit.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 8a738e4..69f0dc1 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -1,5 +1,8 @@ name: Conda package +# Declare default permissions as read only. +permissions: read-all + on: push: branches: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1c6bf61..965c76b 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,5 +1,8 @@ name: pre-commit +# Declare default permissions as read only. +permissions: read-all + on: pull_request: push: