actions-sync
actions-sync copied to clipboard
runtime: goroutine stack exceeds 1000000000-byte limit
I have tried five releases of actions-sync and I am unable to run it successfully. I have a Ruby script that enumerates all repos in github.com/actions, looks for an action.yml
file and generates the list of actions to sync to my on-premise GHES 3.12 server.
It then calls action-sync with the following:
./actions-sync sync --cache-dir /tmp/cache \
--destination-token "#{GIT_TOKEN}" \
--destination-url "#{GIT_URL}" \
--repo-name-list actions/labeler,actions/setup-node,actions/setup-go,actions/setup-dotnet,actions/setup-python,actions/upload-artifact,actions/download-artifact,actions/typescript-action,actions/container-action,actions/setup-ruby,actions/setup-java,actions/checkout,actions/container-toolkit-action,actions/first-interaction,actions/hello-world-javascript-action,actions/stale,actions/hello-world-docker-action,actions/setup-elixir,actions/github-script,actions/javascript-action,actions/create-release,actions/upload-release-asset,actions/setup-haskell,actions/cache,actions/delete-package-versions,actions/publish-action,actions/deploy-pages,actions/jekyll-build-pages,actions/add-to-project,actions/dependency-review-action,actions/upload-pages-artifact,actions/go-dependency-submission,actions/configure-pages,actions/create-github-app-token,actions/publish-immutable-action,actions/container-prebuilt-action,actions/attest,actions/attest-build-provenance,actions/attest-sbom,actions/maven-dependency-submission-action
When using version 202404231422
and 202404051308
, I get errors as shown in the attached file:
stack-overflow-202404051308.txt
If I try older version 202401161759
and 202211070205
, I get the following errors:
error creating github repository `actions/hello-world-docker-action`: error creating repository actions/hello-world-docker-action: GET https://git.mydomain.com/api/v3/repos/actions/hello-world-docker-action: 404 Not Found []
Running older version 202303192358
, I get the following error instead:
error creating github repository `actions/hello-world-docker-action`: error creating repository actions/hello-world-docker-action: POST https://git.mydomain.com/api/v3/orgs/actions/repos: 422 Repository creation failed. [{Resource:Repository Field:name Code:custom Message:name has been retired and cannot be reused}]
What is recommended to get a working version that syncs all actions from github.com/actions even if the destination repo/action does not exist on my GHES?