Skip to content

List GitHub Models

Actions
Fetch GitHub AI models catalog and upload as artifact for daily tracking and analysis
v2.0.0
Latest
Star (3)

List GitHub AI Models

GitHub release GitHub marketplace

Fetch GitHub AI models catalog and uploads it as an artifact for daily tracking and analysis.

Inspiration

At DJHQ, we rely heavily on GitHub’s AI models.
One fine day, without warning, a few of our trusted models vanished from the listings.

👉 DataJourney’s workflow

Features

  • 📊 Fetches complete GitHub AI models catalog
  • 📝 Creates simplified summary with key model information
  • 📋 Generates markdown report for easy viewing
  • 💾 Uploads all data as downloadable artifacts
  • ⏰ Perfect for scheduled workflows to track model changes

Usage

Basic Usage

name: Track GitHub Models
on:
  schedule:
    - cron: '0 3 * * *'  # Daily at 3 AM UTC

jobs:
  track-models:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: datajourneyhq/list-github-models@RELEASE
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

Advanced Usage

- uses: datajourneyhq/list-github-models@RELEASE
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    artifact-name: 'my-custom-models-catalog'

Inputs

Input Description Required Default
github-token GitHub token for API access No ${{ github.token }}
artifact-name Name for the uploaded artifact No github-models-catalog

Outputs

Output Description
artifact-name Name of the uploaded artifact

Artifacts

The action creates an artifact containing:

  • github-models.json - Complete models catalog from GitHub API
  • github-models-mini.json - Simplified version with id, name, and summary
  • models-report.md - Human-readable markdown report

Leverage various output formats

The action generates three files that are uploaded as artifacts:

1. github-models.json

Complete models catalog from GitHub API containing full model details including specifications, capabilities, and metadata.

2. github-models-mini.json

Simplified JSON with essential model information:

github-models-mini.json example

3. models-report.md

Human-readable markdown report with model listings:

models-report.md example

Example Workflow

name: Daily GitHub Models Tracking

on:
  workflow_dispatch:
  schedule:
    - cron: '0 3 * * *'

permissions:
  contents: read

jobs:
  track-models:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        
    - name: Set date
      run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

    - name: Fetch GitHub Models
      uses: datajourneyhq/list-github-models@RELEASE
      with:
        artifact-name: 'models-${{ env.DATE }}'

Author

DataJourney HQ

List GitHub Models is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Fetch GitHub AI models catalog and upload as artifact for daily tracking and analysis
v2.0.0
Latest

List GitHub Models is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.