Files
alire-index-community/.github/actions/checkout-repos/action.yml
T
Alejandro R. Mosteo 41424df44d Remove hard-coded repo
2026-05-22 17:51:39 +02:00

32 lines
873 B
YAML

name: Check out index repos
description: >
Check out alire-index with full history (needed by diff detectors
and check-author; grafted partial branches cause confusion), and
alire-index-checks checked out at the PR base branch.
Also exports CHECKS_REPO for use in subsequent run steps.
inputs:
checks_repo:
description: Name of the checks repository.
required: false
default: alire-index-checks
runs:
using: composite
steps:
- name: Check out alire-index
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check out alire-index-checks
uses: actions/checkout@v4
with:
repository: alire-project/${{ inputs.checks_repo }}
ref: ${{ github.base_ref }}
path: ${{ inputs.checks_repo }}
- name: Export CHECKS_REPO
shell: bash
run: echo "CHECKS_REPO=${{ inputs.checks_repo }}" >> "$GITHUB_ENV"