From 772bf7c2f9683a4b81c492c20dfa69c949310a3f Mon Sep 17 00:00:00 2001 From: Hammy <58985301+sgoudham@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:28:51 +0100 Subject: [PATCH] ci: allow doc updates without PR (#140) * ci: allow doc updates without PR * ci: remove redundant `permissions` config --- .github/workflows/update-docs.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index e6ea815..1d8ddf1 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -12,15 +12,13 @@ jobs: update: name: Run update runs-on: ubuntu-latest - - permissions: - contents: write - # we only want this running on our repo if: github.repository == 'catppuccin/nix' steps: - uses: actions/checkout@v4 + with: + token: ${{ secrets.PUSH_TOKEN }} - name: Install Nix uses: cachix/install-nix-action@v26