From 531fe16ab2193977c999ad36b8d8912690cfc318 Mon Sep 17 00:00:00 2001 From: peterxcli Date: Fri, 2 Feb 2024 22:23:43 +0800 Subject: [PATCH] fix: add permission: write-all to prevent following error: -"installation not allowed to Create organization package" --- .github/workflows/build-backend-image.yaml | 3 ++- .github/workflows/build-notifier-image.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-backend-image.yaml b/.github/workflows/build-backend-image.yaml index 5ae51ab..0c3e7c2 100644 --- a/.github/workflows/build-backend-image.yaml +++ b/.github/workflows/build-backend-image.yaml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image on Tag +name: Build and Push Docker Backend Image on Tag on: push: @@ -11,6 +11,7 @@ env: jobs: build: + permissions: write-all runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/build-notifier-image.yaml b/.github/workflows/build-notifier-image.yaml index a226e6f..644ea70 100644 --- a/.github/workflows/build-notifier-image.yaml +++ b/.github/workflows/build-notifier-image.yaml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image on Tag +name: Build and Push Docker Notifier Image on Tag on: push: @@ -11,6 +11,7 @@ env: jobs: build: + permissions: write-all runs-on: ubuntu-latest steps: - name: Checkout