{"id":28100387,"url":"https://github.com/tidev/titanium-builds-regen-action","last_synced_at":"2025-07-01T06:38:45.394Z","repository":{"id":64422800,"uuid":"501831655","full_name":"tidev/titanium-builds-regen-action","owner":"tidev","description":"Regenerates Titanium SDK releases, branches, and branch builds","archived":false,"fork":false,"pushed_at":"2024-02-12T17:53:34.000Z","size":1320,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-29T04:04:44.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tidev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null},"funding":{"github":"tidev","liberapay":"tidev"}},"created_at":"2022-06-09T22:53:01.000Z","updated_at":"2022-06-09T22:53:18.000Z","dependencies_parsed_at":"2024-02-12T18:59:18.034Z","dependency_job_id":null,"html_url":"https://github.com/tidev/titanium-builds-regen-action","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"5bd1195362e9374a514e632939f873d111a6db06"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tidev/titanium-builds-regen-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidev%2Ftitanium-builds-regen-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidev%2Ftitanium-builds-regen-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidev%2Ftitanium-builds-regen-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidev%2Ftitanium-builds-regen-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tidev","download_url":"https://codeload.github.com/tidev/titanium-builds-regen-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidev%2Ftitanium-builds-regen-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262915544,"owners_count":23383847,"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":[],"created_at":"2025-05-13T18:34:13.185Z","updated_at":"2025-07-01T06:38:45.356Z","avatar_url":"https://github.com/tidev.png","language":"JavaScript","funding_links":["https://github.com/sponsors/tidev","https://liberapay.com/tidev"],"categories":[],"sub_categories":[],"readme":"# Titanium SDK Builds Regen Action\n\nThis action can be used in GitHub workflows to generate static JSON files\ncontaining Titanium SDK releases, branches, and branch builds.\n\n## Usage\n\nIn your project repo, create the file: `.github/workflows/regen-builds.yml`\n\n```yaml\nname: 'Regen Builds'\n\non:\n  workflow_dispatch:\n  repository_dispatch:\n    types: [ regen-builds ]\n\njobs:\n  regen:\n    runs-on: ubuntu-latest\n\n    steps:\n      # third-party action that cancels previous runs\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.4.0\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout titanium-builds\n        uses: actions/checkout@v3\n\n      - name: Retrieve the builds\n        uses: tidev/titanium-builds-regen-action@v1\n        with:\n          output-dir: 'public/registry'\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Commit changes\n        id: committed\n        uses: stefanzweifel/git-auto-commit-action@v4\n\n      - name: Repository Dispatch\n        if: steps.committed.outputs.changes_detected == 'true'\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          event-type: deploy\n          token: ${{ secrets.REGEN_BUILDS_DOCS_GITHUB_TOKEN }}\n\n```\n\n## Releasing a new version\n\nTo release a new version we need to bump the version and then recreate the `v1`\ntag. We use the `v1` tag to avoid having to update the action in all\nrepositories when a change is made. To do this:\n\n1. Bump the version as required using `npm version major|minor|patch`\n2. Recreate the v1 tag using `git tag --force v1`\n3. Delete the tag on the remote `git tag :refs/tags/v1`\n4. Push the commit and updated tags `git push -f --tags`\n\n## Manual Run\n\n```sh\n$ TOKEN=\u003csnip\u003e OUTPUT_DIR=registry node index.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidev%2Ftitanium-builds-regen-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidev%2Ftitanium-builds-regen-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidev%2Ftitanium-builds-regen-action/lists"}