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"
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
uses: mosteo-actions/docker-run@v1
with:
image: ghcr.io/alire-project/docker/gnat:${{matrix.tag}}
command: alire-index-checks/scripts/gh-build-crate.sh
command: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
params: >
-v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
-v ${{ github.event_path}}:/etc/event.json
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
run: ${{env.PACMAN}} --noconfirm -S tar
- name: Test crate
run: alire-index-checks/scripts/gh-build-crate.sh
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
shell: bash
env:
GITHUB_EVENT_PATH: ${{ github.event_path }}
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
run: ${{env.PACMAN}} --noconfirm -S tar
- name: Test crate
run: alire-index-checks/scripts/gh-build-crate.sh
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
shell: bash
env:
GITHUB_EVENT_PATH: ${{ github.event_path }}
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
run: echo '-x11 +no_x11 +quartz' >> /opt/local/etc/macports/variants.conf
- name: Test crate
run: alire-index-checks/scripts/gh-build-crate.sh
run: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
shell: bash
env:
GITHUB_EVENT_PATH: ${{ github.event_path }}
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
- name: Run check
run: >
alire-index-checks/scripts/${{inputs.script}}
${{env.CHECKS_REPO}}/scripts/${{inputs.script}}
"$SCRIPT_ARG"
shell: bash
env:
+1 -1
View File
@@ -33,5 +33,5 @@ jobs:
toolchain: --disable-assistant # No compiler needed
- name: <<DIFF RELEASES>>
run: alire-index-checks/scripts/diff-release.sh || true # No deal breaker if failed
run: ${{env.CHECKS_REPO}}/scripts/diff-release.sh || true # No deal breaker if failed
shell: bash
+1 -1
View File
@@ -15,4 +15,4 @@ url = "git+https://github.com/alire-project/libhello.git"
# We use this crate as a trigger to conveniently test minor changes to
# metaprocesses of the CI of the repository itself.
# Last touch: 2026-05-22 17:13 CEST
# Last touch: 2026-05-22 17:51 CEST