Skip to content

Commit 5570088

Browse files
Add workflow read permissions (#934)
* Add workflow read permissions * Address copilot review comments * Fix quotes in windows_build.yml * Fix quotes in windows_build.yml --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com>
1 parent 9837a39 commit 5570088

4 files changed

Lines changed: 17 additions & 4 deletions

File tree

.github/workflows/js_lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: JS Lint
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/playwright.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Playwright Tests (Temporarily Disabled)
2+
3+
permissions:
4+
contents: read
5+
26
# Temporarily disabled - replace 'workflow_dispatch' with the commented triggers below to re-enable
37
on: workflow_dispatch # Only run manually
48
# Disabled triggers:

.github/workflows/python_code_quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Python Code Quality
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
push:
48
branches:

.github/workflows/windows_build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: Windows FGCS Build
22

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
inputs:
69
version:
7-
description: "The version label to build"
10+
description: 'The version label to build'
811
required: true
9-
default: "0.1.8-alpha"
12+
default: '0.1.8-alpha'
1013

1114
jobs:
1215
build:
@@ -24,7 +27,7 @@ jobs:
2427
- name: Set up Python 3.11
2528
uses: actions/setup-python@v4
2629
with:
27-
python-version: "3.11"
30+
python-version: '3.11'
2831

2932
- name: Install dependencies
3033
working-directory: radio
@@ -36,4 +39,3 @@ jobs:
3639
- name: Run build script
3740
working-directory: building\windows
3841
run: ./build.ps1 -Version "${{ github.event.inputs.version }}"
39-

0 commit comments

Comments
 (0)