From e18021d0ed90f378713997356c98137d99f35e96 Mon Sep 17 00:00:00 2001 From: Mario Minardi Date: Mon, 19 Jan 2026 21:29:52 -0700 Subject: [PATCH] fix expected sub format Signed-off-by: Mario Minardi --- actions/example-id-tokens/.forgejo/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/example-id-tokens/.forgejo/workflows/test.yml b/actions/example-id-tokens/.forgejo/workflows/test.yml index 8a29fc79..4b9c91b4 100644 --- a/actions/example-id-tokens/.forgejo/workflows/test.yml +++ b/actions/example-id-tokens/.forgejo/workflows/test.yml @@ -57,8 +57,8 @@ jobs: echo "Error: EVENT_NAME should be push but is $EVENT_NAME" exit 1 fi - if [[ "$SUB" != "repo:root/example-id-tokens:ref:refs/head/master" ]]; then - echo "Error: SUB should be repo:root/example-id-tokens:ref:refs/head/main but is $SUB" + if [[ "$SUB" != "repo:root/example-id-tokens:ref:refs/heads/main" ]]; then + echo "Error: SUB should be repo:root/example-id-tokens:ref:refs/heads/main but is $SUB" exit 1 fi