From b78d9ab88dab09e8d0e25f8eaf0cb0b330c56b4e Mon Sep 17 00:00:00 2001 From: Salim Kanoun Date: Tue, 16 Jul 2024 22:58:56 +0200 Subject: [PATCH] ci update --- .github/workflows/clean-packages.yml | 3 +++ .github/workflows/php-stan.yml | 5 ++++- .github/workflows/publish.yml | 3 +++ .github/workflows/tests.yml | 3 +++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clean-packages.yml b/.github/workflows/clean-packages.yml index 4ac8dcfc7..11ecb9e27 100644 --- a/.github/workflows/clean-packages.yml +++ b/.github/workflows/clean-packages.yml @@ -26,3 +26,6 @@ jobs: package-type: 'container' min-versions-to-keep: 10 delete-only-untagged-versions: 'true' +permissions: + contents: read + packages: write \ No newline at end of file diff --git a/.github/workflows/php-stan.yml b/.github/workflows/php-stan.yml index aeccee0c1..8dbad506d 100644 --- a/.github/workflows/php-stan.yml +++ b/.github/workflows/php-stan.yml @@ -35,4 +35,7 @@ jobs: - name: 'Execute PHP Stan' working-directory: ./GaelO2 - run: vendor/bin/phpstan analyse app/ \ No newline at end of file + run: vendor/bin/phpstan analyse app/ +permissions: + contents: read + packages: write \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fa6401ba9..f408a9489 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,3 +43,6 @@ jobs: push: true pull: true tags: ${{ steps.meta.outputs.tags }} +permissions: + contents: read + packages: write \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3852e4d36..d942ba68f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -77,3 +77,6 @@ jobs: # determined on this branch. diff-branch: GaelO2 diff-storage: GaelO2_code_coverage +permissions: + contents: read + packages: write \ No newline at end of file