Skip to content

Commit 7156d75

Browse files
committed
init
0 parents  commit 7156d75

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/review.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
env:
34+
GITHUB_TOKEN: ${{ github.token }}
35+
36+
post-result:
37+
runs-on: ubuntu-latest
38+
needs: [review]
39+
steps:
40+
- run: echo test

0 commit comments

Comments
 (0)