https://github.com/chadsr/action-user-repos-json
A Github Action to output a user's repositories as a JSON file.
https://github.com/chadsr/action-user-repos-json
actions github-actions
Last synced: about 1 year ago
JSON representation
A Github Action to output a user's repositories as a JSON file.
- Host: GitHub
- URL: https://github.com/chadsr/action-user-repos-json
- Owner: chadsr
- License: mit
- Created: 2024-08-31T10:15:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T16:06:12.000Z (about 1 year ago)
- Last Synced: 2025-04-11T22:11:53.236Z (about 1 year ago)
- Topics: actions, github-actions
- Language: TypeScript
- Homepage:
- Size: 1.03 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# User Repositories to JSON
[](https://github.com/chadsr/action-user-repos-json/actions/workflows/test.yml)
A Github action to output repositories owned by a user, as a JSON file.
Optional configuration criteria are provided to filter the results.
## Usage
```yaml
name: User Repos to JSON
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chadsr/action-user-repos-json@main
- id: repos
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
username: 'chadsr'
minimumStargazers: 1
- name: Do something with the JSON file
run: cat "${{ steps.repos.outputs.json_path }}"
```