From e4c0a632ac7583b09e5fe729ecb5a9cfeee58853 Mon Sep 17 00:00:00 2001 From: Robert Dower Date: Mon, 7 Oct 2024 12:28:19 -0700 Subject: [PATCH] Fix token permissions --- .github/workflows/deploy_docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 42c6c72..659bbb5 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -2,6 +2,9 @@ # SPDX-License-Identifier: MIT name: Deploy Doxygen Documentation +# Declare default permissions as read only. +permissions: read-all + on: push: tags: @@ -89,4 +92,4 @@ jobs: # Push changes to gh-pages using the GITHUB_TOKEN for authentication git push --force origin gh-pages env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}