From 5379fcfb772935200696920d4a39cbf659df0a98 Mon Sep 17 00:00:00 2001 From: Joyce Date: Wed, 15 Mar 2023 11:14:27 -0300 Subject: [PATCH] Update main.yml permissions Signed-off-by: Joyce --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9a0d2c9..b3c4e70d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,9 @@ name: tests on: [push, pull_request] +permissions: + contents: read + env: # Environment variables to support color support (jaraco/skeleton#66): # Request colored output from CLI tools supporting it. Different tools @@ -133,6 +136,8 @@ jobs: needs: - check if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + permissions: + contents: write runs-on: ubuntu-latest steps: