Skip to content

Commit f837a59

Browse files
committed
chore: update workflow actions and context-menu tweak paths
1 parent b835303 commit f837a59

File tree

4 files changed

+13
-17
lines changed

4 files changed

+13
-17
lines changed

.github/workflows/apbx.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ on:
1616

1717
env:
1818
SXSC_REPO: "https://github.com/Atlas-OS/sxsc"
19+
SXSC_REF: "a351a94f0feeab200032a41d7577bd150b0c05e2"
1920

2021
jobs:
2122
build:
2223
runs-on: windows-latest
2324

2425
steps:
2526
- name: Checkout code
26-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2728
with:
2829
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
2930
token: ${{ secrets.RUNNER_SECRET }}
@@ -33,7 +34,7 @@ jobs:
3334

3435
- name: Get changed files
3536
id: changed-files
36-
uses: tj-actions/changed-files@v46.0.1
37+
uses: tj-actions/changed-files@v47.0.4
3738
with:
3839
files_yaml: |
3940
sxsc:
@@ -67,6 +68,8 @@ jobs:
6768
- name: Clone the sxsc repository
6869
run: |
6970
git clone --depth=1 ${{ env.SXSC_REPO }}
71+
git -C sxsc fetch --depth=1 origin ${{ env.SXSC_REF }}
72+
git -C sxsc checkout --detach ${{ env.SXSC_REF }}
7073
Copy-Item -Path "configs" -Destination ".\sxsc\configs" -Recurse -Force
7174
working-directory: ..
7275
if: env.runSxsc == 'true'
@@ -133,7 +136,7 @@ jobs:
133136
working-directory: src\playbook
134137

135138
- name: Upload artifact
136-
uses: actions/upload-artifact@v4
139+
uses: actions/upload-artifact@v7.0.0
137140
if: ${{ steps.create-pb.outcome != 'skipped' }}
138141
with:
139142
name: Atlas Playbook

.github/workflows/labeler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
pull-requests: write
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/labeler@v4
13+
- uses: actions/labeler@v6.0.1

src/playbook/Configuration/tweaks/qol/explorer/add-context-menus/merge-as-trustedinstaller.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ title: Add 'Merge as TrustedInstaller' to Context Menu
33
description: Adds 'Merge as TrustedInstaller' to context menu for registry files
44
actions:
55
- !registryValue:
6-
path: 'HKCR\regfile\Shell\RunAs'
6+
path: 'HKLM\Software\Classes\regfile\Shell\RunAs'
77
value: ''
88
data: 'Merge As TrustedInstaller'
99
type: REG_SZ
1010
- !registryValue:
11-
path: 'HKCR\regfile\Shell\RunAs'
11+
path: 'HKLM\Software\Classes\regfile\Shell\RunAs'
1212
value: 'HasLUAShield'
1313
data: '1'
1414
type: REG_SZ
1515
- !registryValue:
16-
path: 'HKCR\regfile\Shell\RunAs\Command'
16+
path: 'HKLM\Software\Classes\regfile\Shell\RunAs\Command'
1717
value: ''
1818
data: 'cmd /c "%windir%\AtlasModules\Scripts\RunAsTI.cmd" "%1"'
1919
type: REG_SZ

src/playbook/Configuration/tweaks/qol/shell/restore-old-context-menu.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ title: Restore Old Context Menu
33
description: Restores the old context menu in Windows 11
44
builds: [ '>=22000' ]
55
actions:
6-
- !registryValue:
7-
path: 'HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32'
8-
value: ''
9-
data: ''
10-
type: REG_SZ
11-
12-
# Fall back for OOBE cause it seems not to work
13-
- !powerShell:
6+
- !cmd:
147
command: 'reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /t REG_SZ /d "" /f > nul'
15-
exeDir: true
16-
oobe: only
8+
runas: currentUserElevated
9+
wait: true

0 commit comments

Comments
 (0)