From 8970eb48333d984ebdb157e16af0ef8f6a504308 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Tue, 4 Feb 2025 18:51:52 +0100 Subject: [PATCH] [CI] adding permissions to see if gh command works --- .github/workflows/build-and-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 24567d2..b1c9f4d 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -27,6 +27,8 @@ jobs: chmod 400 /root/.ssh/known_hosts ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts 2> /dev/null - name: build-and-push + permissions: + actions: 'write' env: GH_TOKEN: ${{ github.token }} run: |