-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #259 from itiligent/main
Clean up network profiles
- Loading branch information
Showing
3 changed files
with
85 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
@@ -7,15 +8,35 @@ jobs: | |
lictool: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
if: ${{ github.event_name != 'pull_request' }} | ||
|
||
- uses: actions/setup-python@v4 | ||
- name: Checkout pull request | ||
uses: actions/checkout@v3 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
with: | ||
python-version: 3.x | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- uses: pre-commit/[email protected] | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v4 | ||
with: | ||
extra_args: license-tools | ||
python-version: 3.x | ||
|
||
- name: Set git author to @actions | ||
uses: fregante/setup-git-user@v2 | ||
|
||
- uses: pre-commit-ci/[email protected] | ||
if: always() | ||
- name: Install lictool | ||
run: pip install git+https://github.com/emzeat/[email protected] | ||
|
||
- name: Run lictool | ||
run: lictool | ||
|
||
- name: Commit and push | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
default_author: github_actions | ||
message: "[ci] update license header" | ||
push: true | ||
fetch: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
Windows Registry Editor Version 5.00 | ||
|
||
; Disable RemoteApp allowlist so all applications can be used in Remote Desktop sessions | ||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList] | ||
"fDisabledAllowList"=dword:00000001 | ||
|
||
; Allow unlisted programs to be run in Remote Desktop sessions | ||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] | ||
"fAllowUnlistedRemotePrograms"=dword:00000001 | ||
|
||
; Disable automatic administrator logon at startup | ||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] | ||
"AutoAdminLogon"="0" | ||
|
||
; Disable "Do you want your PC to be discoverable" prompt after each host system reboot | ||
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters