From 1c6f798c98b90a3a670901c9a96b92f960ce14c3 Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 1 Feb 2024 16:57:04 +0100 Subject: [PATCH] fix: permission issue after repository rename --- .github/workflows/docker-develop.yml | 9 ++++++++- .github/workflows/docker.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-develop.yml b/.github/workflows/docker-develop.yml index 1b92ad28..c67b1e06 100644 --- a/.github/workflows/docker-develop.yml +++ b/.github/workflows/docker-develop.yml @@ -1,4 +1,4 @@ -name: Build and Push Develop Image samply/lens-web-components +name: Build and Push Develop Image samply/lens on: push: @@ -9,6 +9,13 @@ on: - develop jobs: build: + # Necessary after this repository was renamed from samply/lens-web-components to samply/lens + permissions: + contents: read + packages: write + pull-requests: read + security-events: write + statuses: read # This workflow defines how a samply docker image is built, tested and published. # Visit: https://github.com/samply/github-workflows/blob/main/.github/workflows/docker-ci.yml, for more information uses: samply/github-workflows/.github/workflows/docker-ci.yml@main diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ab68da45..78b6826c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,4 +1,4 @@ -name: Build and Push Image samply/lens-web-components +name: Build and Push Image samply/lens on: push: @@ -15,6 +15,13 @@ on: - cron: '0 1 * * *' jobs: build: + # Necessary after this repository was renamed from samply/lens-web-components to samply/lens + permissions: + contents: read + packages: write + pull-requests: read + security-events: write + statuses: read # This workflow defines how a samply docker image is built, tested and published. # Visit: https://github.com/samply/github-workflows/blob/main/.github/workflows/docker-ci.yml, for more information uses: samply/github-workflows/.github/workflows/docker-ci.yml@main