dsacms/Code.json Generator
Automatically generates and updates code.json metadata files for CMS repositories
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub token used for API access | yes | ${{ github.token }} |
| BRANCH | Name of the branch to update | no | — |
| SKIP_PR | Try to push directly to branch first, fallback to PR if it fails. Requires ADMIN_TOKEN. | no | false |
| ADMIN_TOKEN | Personal Access Token with admin/write privileges for direct push. Required when SKIP_PR is true. | no | — |
| ARCHIVE | Option to set this tool to archive mode which prepares a repository for archival. | no | false |
Outputs
| name | description |
|---|---|
| updated | Boolean indicating whether code.json was updated |
| pr_url | URL of the created pull request if changes were made via PR |
| commit_sha | SHA of the commit if pushed directly to branch |
| method_used | Method used for the update: 'direct_push' or 'pull_request' |