repo=root/example-$example api=$url/api/v1 # Prepare test repo forgejo-test-helper.sh push_workflow actions/example-$example $url root example-$example setup-forgejo $token sha=$(forgejo-test-helper.sh branch_tip $url $repo main) # Install a repo secret forgejo-curl.sh api_json -X PUT --data-raw '{"data":"CCCC"}' $api/repos/$repo/actions/secrets/SECRET3 # Wait for action to complete forgejo-test-helper.sh wait_success $url root/example-$example $sha