File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1515 shell : bash
1616
1717 - name : Set up Ruby
18- uses : ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
18+ uses : ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pinned to version v1.178.0
1919 with :
2020 bundler-cache : true
2121 cache-version : 1
Original file line number Diff line number Diff line change @@ -13,8 +13,17 @@ concurrency:
1313 cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
1414
1515jobs :
16+ authorize :
17+ name : Authorize
18+ environment : ${{ github.event.pull_request.head.repo.fork && 'external' || 'internal' }}
19+ runs-on : ubuntu-latest
20+ steps :
21+ - run : true
22+
1623 test :
24+ needs : authorize # Require approval before running on forked pull requests
1725 name : Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }}
26+ environment : ${{ github.event.pull_request.head.repo.fork && 'external' || 'internal' }}
1827 runs-on : macos-13
1928
2029 env :
5261 - name : Upload coverage report
5362 if : ${{ matrix.platform.os == 'iOS' }}
5463 uses : codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457
64+ with :
65+ token : ${{ secrets.CODECOV_TOKEN }}
5566
5667 test-package :
5768 name : Test Swift package using Xcode ${{ matrix.xcode }}
You can’t perform that action at this time.
0 commit comments