Review Nixpkgs PR 269110 with nixpkgs-review #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Nixpkgs Review | |
on: | |
workflow_dispatch: | |
inputs: | |
pr: | |
description: "The number of the pull request to review." | |
type: number | |
required: true | |
run-name: "Review Nixpkgs PR ${{ inputs.pr }} with nixpkgs-review" | |
jobs: | |
review: | |
runs-on: ubuntu-22.04 | |
env: | |
nixpkgs-review-attr: "github:${{ github.repository }}/${{ github.sha }}#nixpkgs-review" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: "NixOS/nixpkgs" | |
fetch-depth: | |
# Infinite depth (source: https://git-scm.com/docs/shallow) | |
2147483647 | |
- uses: cachix/install-nix-action@v23 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run nixpkgs-review | |
run: nix run "${{ env.nixpkgs-review-attr }}" -- pr ${{ inputs.pr }} --run "find logs/ -type f -exec awk 'FNR==1{print FILENAME}1' {} +; cat report.md >> $GITHUB_STEP_SUMMARY" |