Skip to content

Commit 22cd43a

Browse files
committed
feat: use upterm instead of tmate
1 parent 52918ff commit 22cd43a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/review.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ on:
3838
required: true
3939
type: boolean
4040
default: true
41-
tmate:
42-
description: "Start tmate session after nixpkgs-review"
41+
upterm:
42+
description: "Start upterm session after nixpkgs-review"
4343
required: true
4444
type: boolean
4545
default: false
@@ -138,9 +138,11 @@ jobs:
138138
ATTIC_SERVER: ${{ vars.ATTIC_SERVER }}
139139
ATTIC_CACHE: ${{ vars.ATTIC_CACHE }}
140140
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}
141-
- name: start tmate session
142-
uses: mxschmitt/action-tmate@v3
143-
if: ${{ inputs.tmate }}
141+
- name: start upterm session
142+
if: ${{ inputs.upterm }}
143+
uses: owenthereal/action-upterm@v1
144+
with:
145+
limit-access-to-actor: true
144146
- name: generate report
145147
id: report
146148
run: |

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Run [nixpkgs-review](https://github.com/Mic92/nixpkgs-review) in GitHub Actions
77
- No local setup
88
- Automatically post results on the reviewed pull request
99
- Wait for [upstream evaluation](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/eval.yml) to finish before running nixpkgs-review
10-
- Optionally start a [tmate](https://tmate.io/) session after nixpkgs-review has finished to allow interactive testing/debugging via SSH
10+
- Optionally start an [upterm](https://upterm.dev/) session after nixpkgs-review has finished to allow interactive testing/debugging via SSH
1111
- Push new packages to an [attic](https://github.com/zhaofengli/attic) cache
1212
- Add a "Run nixpkgs-review" shortcut to pull request pages in nixpkgs
1313

0 commit comments

Comments
 (0)