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"