From 3122a44fdbc5d29d192d1a1f25c4d5312054a806 Mon Sep 17 00:00:00 2001 From: Patrick Weyck Date: Mon, 6 May 2024 16:00:50 +0200 Subject: [PATCH] Fix trust policy --- .github/chainguard/release.sts.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/chainguard/release.sts.yaml b/.github/chainguard/release.sts.yaml index d19b0ac648..2c10bd2b49 100644 --- a/.github/chainguard/release.sts.yaml +++ b/.github/chainguard/release.sts.yaml @@ -1,7 +1,7 @@ issuer: https://token.actions.githubusercontent.com -subject: repo:shopware/shopware:ref:refs/heads/trunk +subject_pattern: repo:shopware/shopware:ref:refs/tags/v[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ claim_pattern: - job_workflow_ref: shopware/shopware/.github/workflows/05-release.yml@refs/heads/trunk + job_workflow_ref: shopware/shopware/.github/workflows/05-publish-release.yml@refs/tags/v[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ permissions: actions: write