Skip to content

Commit efc71a2

Browse files
committed
Add attestation
1 parent f12c98c commit efc71a2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- main
77
- dev
88

9+
permissions:
10+
id-token: write
11+
attestations: write
12+
913
jobs:
1014
build:
1115
runs-on: windows-latest
@@ -21,4 +25,8 @@ jobs:
2125
with:
2226
name: "VBA-Enabled Workbook"
2327
path: "./tests/out/*"
24-
if-no-files-found: warn
28+
if-no-files-found: warn
29+
- name: "Attestation"
30+
uses: actions/attest-build-provenance@v2
31+
with:
32+
subject-path: "./tests/out/*"

scripts/Build-VBA.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if (-not (Test-VBOMAccess -officeAppName $officeAppName)) {
8080
$officeApp = New-Object -ComObject "$officeAppName.Application"
8181

8282
# Make app visible (uncomment if needed)
83-
# $officeApp.Visible = $true
83+
$officeApp.Visible = $true
8484

8585
# Check if the application instance was created successfully
8686
if ($null -eq $officeApp) {

0 commit comments

Comments
 (0)