Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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 (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-23T08:26:21.000Z (4 months ago)
- Last Synced: 2024-09-25T15:37:13.452Z (4 months ago)
- Topics: actions, github-actions
- Language: TypeScript
- Homepage:
- Size: 563 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# User Repositories to JSON
[![Test](https://github.com/chadsr/action-user-repos-json/actions/workflows/test.yml/badge.svg)](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 }}"
```