danburtenshaw/Repo Manifest
Sync GitHub repository settings from a declarative config file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token with repo admin permissions. Used for all settings reads/writes. | yes | — |
| comment-token | Token used to post the plan comment on pull requests. Defaults to the workflow's built-in GITHUB_TOKEN so the comment is authored by github-actions[bot] rather than the owner of `token`. Your job needs `permissions: pull-requests: write` for the default to work. Set explicitly to override (e.g., a PAT or GitHub App token for a custom bot identity). Falls back to `token` if empty. | no | ${{ github.token }} |
| config | Path to the manifest file | no | .github/repo-manifest.yml |
| mode | plan | apply | drift | no | plan |
| comment-on-pr | Post plan as a PR comment when run on pull_request | no | true |
| fail-on-drift | When mode=drift, exit non-zero if drift is detected | no | true |
Outputs
| name | description |
|---|---|
| plan | JSON-encoded plan summary |
| changed | true if any changes were detected or applied |