Commit 7156d75 0 parents commit 7156d75 Copy full SHA for 7156d75
File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments