Skip to content

Commit 7a9b297

Browse files
committed
rest of the owl
1 parent f493cde commit 7a9b297

7 files changed

Lines changed: 33 additions & 2 deletions

File tree

.github/workflows/android.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ env:
1515
GITHUB_TOKEN: ${{ github.token }}
1616
xcodeVersion: "26.2" # Only affects Mac runners, and only for prerequisites.
1717

18+
permissions:
19+
contents: read
20+
1821
concurrency:
1922
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
2023
cancel-in-progress: true

.github/workflows/desktop.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ env:
1414
CCACHE_DIR: ${{ github.workspace }}/ccache_dir
1515
GITHUB_TOKEN: ${{ github.token }}
1616

17+
permissions:
18+
contents: read
19+
1720
concurrency:
1821
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
1922
cancel-in-progress: true
@@ -114,7 +117,9 @@ jobs:
114117

115118
- name: Setup Xcode version (macos)
116119
if: runner.os == 'macOS'
117-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer
120+
run: sudo xcode-select -s /Applications/Xcode_${XCODE_VERSION}.app/Contents/Developer
121+
env:
122+
XCODE_VERSION: ${{ matrix.xcode_version }}
118123

119124
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
120125
with:

.github/workflows/ios.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
env:
1414
GITHUB_TOKEN: ${{ github.token }}
1515

16+
permissions:
17+
contents: read
18+
1619
concurrency:
1720
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
1821
cancel-in-progress: true
@@ -57,7 +60,9 @@ jobs:
5760
5861
- name: setup Xcode version (macos)
5962
if: runner.os == 'macOS'
60-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer
63+
run: sudo xcode-select -s /Applications/Xcode_${XCODE_VERSION}.app/Contents/Developer
64+
env:
65+
XCODE_VERSION: ${{ matrix.xcode_version }}
6166

6267
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
6368
with:

.github/workflows/lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ on:
44
pull_request:
55
types: [opened,synchronize]
66

7+
permissions:
8+
contents: read
9+
710
concurrency:
811
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
912
cancel-in-progress: true
1013

1114
jobs:
1215
lint_warnings_check_and_comment:
1316
runs-on: ubuntu-22.04
17+
permissions:
18+
contents: read
19+
pull-requests: write
1420
steps:
1521
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
1622
with:

.github/workflows/retry-test-failures.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
default: ''
88
required: true
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
check_results_and_retry_if_needed:
1215
name: check-results-and-retry-if-needed

.github/workflows/reviewer-roulette.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ on:
77
env:
88
reviewerList: "jonsimantov a-maurice cynthiajoan chkuang-g AlmostMatt"
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
assign_random_reviewer:
1215
if: github.event.action == 'labeled' && github.event.label.name == 'reviewer-roulette'
1316
runs-on: ubuntu-22.04
17+
permissions:
18+
contents: read
19+
pull-requests: write
1420
steps:
1521
- name: Unset label
1622
uses: buildsville/add-remove-label@6008d7bd99d3baeb7c04033584e68f8ec80b198b # ratchet:buildsville/add-remove-label@v1

.github/workflows/update-custom-runner.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
env:
2020
GITHUB_TOKEN: ${{ github.token }}
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
update_custom_runners:
2427
name: update-custom-runner-${{ matrix.runner_hostname }}

0 commit comments

Comments
 (0)