vig-os/Sync Issues and PRs
Sync GitHub issues and pull requests to markdown files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token with repo access (defaults to github.token) | no | ${{ github.token }} |
| output-dir | Directory to store synced markdown files | no | synced-issues |
| sync-issues | Whether to sync issues | no | true |
| sync-prs | Whether to sync pull requests | no | true |
| include-closed | Whether to include closed issues/PRs | no | false |
| app-id | GitHub App ID (optional) | no | — |
| app-private-key | GitHub App private key (PEM, optional) | no | — |
| updated-since | Only sync items updated after this ISO8601 timestamp | no | — |
| issues-filter | Comma-separated issue numbers and/or inclusive ranges (e.g. 1,5,10-20). When set, only these issues are synced. | no | — |
| prs-filter | Comma-separated pull request numbers and/or inclusive ranges (e.g. 1,5,10-20). When set, only these pull requests are synced. | no | — |
| format-command | Optional shell command run on the synced files after they are written, before outputs are set (e.g. to apply prettier or pre-commit fixes). Every {files} placeholder is replaced with the shell-quoted modified file paths; without a placeholder the command runs as-is. A failing command fails the action. | no | — |
| state-file | Optional path to store last sync timestamp (use with cache) | no | — |
| force-update | Re-write all synced files even if content is unchanged | no | false |
| sync-sub-issues | Whether to sync sub-issue relationships via GraphQL | no | true |
| sync-attachments | Download issue/PR attachments (images, videos, files) to <output-dir>/attachments and rewrite body URLs to relative paths | no | false |
Outputs
| name | description |
|---|---|
| issues-count | Number of issues synced |
| prs-count | Number of PRs synced |
| last-synced-at | Timestamp when this action completed |
| modified-files | Comma-separated list of file paths that were created or modified |
| app-token | GitHub App installation token (if app credentials provided). Use for checkout/push operations. |
| github-token | Original GitHub token. Use for commit signing. |