Demo Footprint #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Demo Footprint | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| username: | |
| description: "GitHub username" | |
| required: false | |
| type: string | |
| min_stars: | |
| description: "Minimum star count for owned projects to appear on card" | |
| required: false | |
| default: "0" | |
| type: string | |
| card: | |
| description: "Generate SVG card variants" | |
| required: false | |
| default: "true" | |
| type: choice | |
| options: | |
| - "true" | |
| - "false" | |
| timeout: | |
| description: "Timeout for GitHub API operations (seconds)" | |
| required: false | |
| default: "300" | |
| type: string | |
| permissions: | |
| contents: write | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Generate footprint | |
| uses: ./ | |
| with: | |
| username: ${{ inputs.username }} | |
| min_stars: ${{ inputs.min_stars }} | |
| output_dir: ${{ inputs.output_dir }} | |
| card: ${{ inputs.card }} | |
| timeout: ${{ inputs.timeout }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |