Skip to content

Commit 02b18e2

Browse files
committed
Use code coverage token
Set permissions for docker build
1 parent 25265cb commit 02b18e2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/code-quality.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,17 @@ jobs:
7676
# We only care about PHP 8.4 (latest stable) for our code coverage report
7777
if: matrix.php-versions == 8.4
7878
uses: codecov/codecov-action@v5
79-
env:
80-
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}
79+
with:
80+
token: ${{ secrets.CODECOV_TOKEN }}
8181

8282
build-and-push-docker:
8383
needs: code-quality
8484
uses: ./.github/workflows/build-and-push-docker.yml
8585
secrets: inherit
86+
permissions:
87+
contents: read
88+
packages: write
89+
id-token: write
8690
# Only build docker images on pushes to master, develop and tags
8791
if:
8892
(

0 commit comments

Comments
 (0)