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