{"id":18425771,"url":"https://github.com/faforever/spooky-db","last_synced_at":"2025-04-07T16:32:06.972Z","repository":{"id":11949683,"uuid":"14520209","full_name":"FAForever/spooky-db","owner":"FAForever","description":"Forged Alliance Forever unit database remake","archived":false,"fork":false,"pushed_at":"2025-03-31T21:21:34.000Z","size":45733,"stargazers_count":12,"open_issues_count":12,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-31T22:26:29.612Z","etag":null,"topics":["faforever","supcom","unitdb"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FAForever.png","metadata":{"files":{"readme":".github/readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-11-19T09:43:13.000Z","updated_at":"2024-06-17T10:39:28.000Z","dependencies_parsed_at":"2024-06-17T10:32:12.433Z","dependency_job_id":"510d6370-e83c-4e13-a806-99e1aac77454","html_url":"https://github.com/FAForever/spooky-db","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FAForever%2Fspooky-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FAForever%2Fspooky-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FAForever%2Fspooky-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FAForever%2Fspooky-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FAForever","download_url":"https://codeload.github.com/FAForever/spooky-db/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247688030,"owners_count":20979583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["faforever","supcom","unitdb"],"created_at":"2024-11-06T05:05:31.973Z","updated_at":"2025-04-07T16:32:02.210Z","avatar_url":"https://github.com/FAForever.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Debug workflows locally\n\n## Prerequisites\n\n- (1) [Github CLI](https://github.com/cli/cli)\n\nVerify that Github CLI is installed and available via `gh --version`. You need to authorize yourself via `gh login`. Once authorised, verify that `gh auth token` returns a value. You'll need that token to authorize yourself through `act`.\n\n- (2) [Act](https://github.com/nektos/act)\n\nVerify that act is installed and available via `act --version`. There are [various ways](https://nektosact.com/installation/index.html) to install it via a tool, downloading the artifact that matches your OS and adding it to the path is sufficient however.\n\n- (3) [Docker](https://www.docker.com/products/docker-desktop/)\n\nVerify that docker is installed and available via `docker --version`.  Act uses docker containers to containerize your workflows. You'll need to start the `Docker Desktop` application to guarantee that the docker engine is running.\n\n## Debug a workflow\n\nThe tool `act` only works on workflows that have the `push` event. Add the `push` event to the workflow that you want to test if it is missing.\n\n```bash\n    #   # Non-standard image that has `pwsh` installed            # Workflow to debug               # Token to authorize\n    act -P 'ubuntu-latest=ghcr.io/catthehacker/ubuntu:pwsh-22.04' -W '.github/workflows/build.yaml' -s GITHUB_TOKEN=\"$(gh auth token)\"\n\n    # for repeated tests                                                                                                               # do not pull (-p) the docker image each time\n    act -P 'ubuntu-latest=ghcr.io/catthehacker/ubuntu:pwsh-22.04' -W '.github/workflows/build.yaml' -s GITHUB_TOKEN=\"$(gh auth token)\" -p=false\n```\n\nUseful references:\n\n- [Documentation about act](https://nektosact.com/introduction.html)\n- [List of all official docker images](https://github.com/catthehacker/docker_images)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaforever%2Fspooky-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaforever%2Fspooky-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaforever%2Fspooky-db/lists"}