Remove hard-coded repo

This commit is contained in:
Alejandro R. Mosteo
2026-05-22 17:51:39 +02:00
parent 2e187a6e2c
commit 41424df44d
8 changed files with 20 additions and 9 deletions
+13 -2
View File
@@ -3,6 +3,13 @@ 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
@@ -15,6 +22,10 @@ runs:
- name: Check out alire-index-checks
uses: actions/checkout@v4
with:
repository: alire-project/alire-index-checks
repository: alire-project/${{ inputs.checks_repo }}
ref: ${{ github.base_ref }}
path: alire-index-checks
path: ${{ inputs.checks_repo }}
- name: Export CHECKS_REPO
shell: bash
run: echo "CHECKS_REPO=${{ inputs.checks_repo }}" >> "$GITHUB_ENV"