/navrepo-action

Embed git repositories under one parent

Primary LanguageShellMIT LicenseMIT

Navrepo Action

A GitHub Action that turns a repository into a "navigational repository" (link to other repositories based on some criteria).

Usage

# on: [push]

# recommended
on:
  schedule:
    - cron: 0 0 * * 1
  push:
  workflow_dispatch:

jobs:
  ci:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ineshbose/navrepo-action@v1
        with:
          query: "map(select(.isFork))"
Argument Required Default Description
query Yes Query to fetch the list of repositories to clone.
account_name No {{ github.repository_owner }} Account under which repositories to query.
query_fields No id,name,createdAt,isFork,parent,url Fields in the JSON query (nameWithOwner stays).
commit No true Commit to the repository.