Skip to content
external-link

GitHub Action

Navrepo Action

v1 Latest version

Navrepo Action

external-link

Navrepo Action

This action adds repositories under another one

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Navrepo Action

uses: ineshbose/navrepo-action@v1

Learn more about this action in ineshbose/navrepo-action

Choose a version

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.