From 52fd12e91fd44a1eaad1359f7568aa46ea307c53 Mon Sep 17 00:00:00 2001
From: Patrick Weyck
Date: Mon, 6 May 2024 16:03:34 +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 d19b0ac..2c10bd2 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