adapt to stricter repo permissions part 2

This commit is contained in:
fkwp 2024-04-17 15:27:05 +02:00
parent 4283716dcc
commit c5793b9e7c

View File

@ -36,8 +36,11 @@ jobs:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
docker:
needs: prdetails
if: ${{ needs.prdetails.outputs.pr_data_json && contains(fromJSON(needs.prdetails.outputs.pr_data_json).labels.*.name, 'docker build') }}
needs: prdetails
permissions:
contents: write
packages: write
uses: ./.github/workflows/docker.yaml
with:
docker_tags: |