File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 GITHUB_TOKEN : ${{ github.token }}
1616 xcodeVersion : " 26.2" # Only affects Mac runners, and only for prerequisites.
1717
18+ permissions :
19+ contents : read
20+
1821concurrency :
1922 group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
2023 cancel-in-progress : true
Original file line number Diff line number Diff line change 1414 CCACHE_DIR : ${{ github.workspace }}/ccache_dir
1515 GITHUB_TOKEN : ${{ github.token }}
1616
17+ permissions :
18+ contents : read
19+
1720concurrency :
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 :
Original file line number Diff line number Diff line change 1313env :
1414 GITHUB_TOKEN : ${{ github.token }}
1515
16+ permissions :
17+ contents : read
18+
1619concurrency :
1720 group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
1821 cancel-in-progress : true
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 :
Original file line number Diff line number Diff line change 44 pull_request :
55 types : [opened,synchronize]
66
7+ permissions :
8+ contents : read
9+
710concurrency :
811 group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
912 cancel-in-progress : true
1013
1114jobs :
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 :
Original file line number Diff line number Diff line change 77 default : ' '
88 required : true
99
10+ permissions :
11+ contents : read
12+
1013jobs :
1114 check_results_and_retry_if_needed :
1215 name : check-results-and-retry-if-needed
Original file line number Diff line number Diff line change 77env :
88 reviewerList : " jonsimantov a-maurice cynthiajoan chkuang-g AlmostMatt"
99
10+ permissions :
11+ contents : read
12+
1013jobs :
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
Original file line number Diff line number Diff line change 1919env :
2020 GITHUB_TOKEN : ${{ github.token }}
2121
22+ permissions :
23+ contents : read
24+
2225jobs :
2326 update_custom_runners :
2427 name : update-custom-runner-${{ matrix.runner_hostname }}
You can’t perform that action at this time.
0 commit comments