Skip to content

Commit af64096

Browse files
committed
init
0 parents  commit af64096

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/review.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: review
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
pr:
7+
description: "Pull Request Number"
8+
required: true
9+
type: number
10+
nixpkgs-review:
11+
description: "nixpkgs-review flake"
12+
required: true
13+
type: string
14+
default: github:Mic92/nixpkgs-review
15+
16+
jobs:
17+
review:
18+
strategy:
19+
matrix:
20+
system:
21+
- x86_64-linux
22+
- aarch64-linux
23+
- x86_64-darwin
24+
- aarch64-darwin
25+
runs-on: >-
26+
${{ (matrix.system == "x86_64-linux" && "ubuntu-latest")
27+
|| (matrix.system == "aarch64-linux" && "ubuntu-24.04-arm")
28+
|| (matrix.system == "x86_64-darwin" && "macos-13")
29+
|| (matrix.system == "aarch64-darwin" && "macos-latest") }}
30+
steps:
31+
- uses: DeterminateSystems/nix-installer-action@v16
32+
- run: nix run ${{ inputs.nixpkgs-review }} -- pr ${{ inputs.pr }} --no-shell
33+
34+
post-result:
35+
runs-on: ubuntu-latest
36+
needs: [review]
37+
steps:
38+
- run: echo test

0 commit comments

Comments
 (0)