Skip to content

Commit

Permalink
Restrict windows ssh-debugging to collaborators
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed Apr 22, 2021
1 parent 6dc2537 commit f0615c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/windows-cygwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
- name: Debug over SSH (tmate)
uses: mxschmitt/action-tmate@v3.5
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
with:
limit-access-to-actor: true

- name: configure
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- name: Debug over SSH (tmate)
uses: mxschmitt/action-tmate@v3.5
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
with:
limit-access-to-actor: true

- name: configure
# Use cmd to remove the path easily
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows-msvc-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
- name: Debug over SSH (tmate)
uses: mxschmitt/action-tmate@v3.5
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
with:
limit-access-to-actor: true

- name: configure
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows-msvc-ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
- name: Debug over SSH (tmate)
uses: mxschmitt/action-tmate@v3.5
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
with:
limit-access-to-actor: true

- name: configure
run: |
Expand Down

0 comments on commit f0615c7

Please sign in to comment.