From 90503bc911c93cd8e4988ea28c42fb3f48802ebb Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 5 Nov 2023 11:36:13 +0300 Subject: [PATCH] CI: give update workflows write perms --- .github/workflows/update-flake.yml | 3 +++ .github/workflows/update-pkgs.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml index e02a2e8..1a1094d 100644 --- a/.github/workflows/update-flake.yml +++ b/.github/workflows/update-flake.yml @@ -8,6 +8,9 @@ jobs: update: if: github.repository == 'notashelf/nyxpkgs' runs-on: ubuntu-latest + permissions: + contents: write + steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/update-pkgs.yml b/.github/workflows/update-pkgs.yml index f2e6fe4..e8131fc 100644 --- a/.github/workflows/update-pkgs.yml +++ b/.github/workflows/update-pkgs.yml @@ -9,6 +9,10 @@ jobs: update: if: github.repository == 'notashelf/nyxpkgs' runs-on: ubuntu-latest + + permissions: + contents: write + steps: - name: Checkout uses: actions/checkout@v4