|
24 | 24 | if: ${{ contains('["pull_request", "merge_group"]', github.event_name) }} # skip-master skip-stable
|
25 | 25 | env:
|
26 | 26 | RUSTFLAGS: -Ctarget-feature=+crt-static
|
| 27 | + permissions: |
| 28 | + id-token: write |
| 29 | + contents: read |
27 | 30 | strategy:
|
28 | 31 | fail-fast: false
|
29 | 32 | matrix:
|
@@ -178,6 +181,9 @@ jobs:
|
178 | 181 | if: ${{ (github.event_name == 'push' && github.ref_name == 'master') || github.event_name == 'schedule' }} # skip-pr skip-stable
|
179 | 182 | env:
|
180 | 183 | RUSTFLAGS: -Ctarget-feature=+crt-static
|
| 184 | + permissions: |
| 185 | + id-token: write |
| 186 | + contents: read |
181 | 187 | strategy:
|
182 | 188 | fail-fast: false
|
183 | 189 | matrix:
|
@@ -332,6 +338,9 @@ jobs:
|
332 | 338 | if: ${{ github.event_name == 'push' && github.ref_name == 'stable' }} # skip-pr skip-master
|
333 | 339 | env:
|
334 | 340 | RUSTFLAGS: -Ctarget-feature=+crt-static
|
| 341 | + permissions: |
| 342 | + id-token: write |
| 343 | + contents: read |
335 | 344 | strategy:
|
336 | 345 | fail-fast: false
|
337 | 346 | matrix:
|
@@ -490,6 +499,9 @@ jobs:
|
490 | 499 | build-linux-pr: # job-name skip-master skip-stable
|
491 | 500 | runs-on: ubuntu-latest
|
492 | 501 | if: ${{ contains('["pull_request", "merge_group"]', github.event_name) }} # skip-master skip-stable
|
| 502 | + permissions: |
| 503 | + id-token: write |
| 504 | + contents: read |
493 | 505 | strategy:
|
494 | 506 | fail-fast: false
|
495 | 507 | matrix:
|
@@ -646,6 +658,9 @@ jobs:
|
646 | 658 | build-linux-master: # job-name skip-pr skip-stable
|
647 | 659 | runs-on: ubuntu-latest
|
648 | 660 | if: ${{ (github.event_name == 'push' && github.ref_name == 'master') || github.event_name == 'schedule' }} # skip-pr skip-stable
|
| 661 | + permissions: |
| 662 | + id-token: write |
| 663 | + contents: read |
649 | 664 | strategy:
|
650 | 665 | fail-fast: false
|
651 | 666 | matrix:
|
@@ -807,6 +822,9 @@ jobs:
|
807 | 822 | build-linux-stable: # job-name skip-master skip-pr
|
808 | 823 | runs-on: ubuntu-latest
|
809 | 824 | if: ${{ github.event_name == 'push' && github.ref_name == 'stable' }} # skip-pr skip-master
|
| 825 | + permissions: |
| 826 | + id-token: write |
| 827 | + contents: read |
810 | 828 | strategy:
|
811 | 829 | fail-fast: false
|
812 | 830 | matrix:
|
@@ -990,6 +1008,9 @@ jobs:
|
990 | 1008 | runs-on: macos-13 # skip-aarch64
|
991 | 1009 | env: # skip-aarch64
|
992 | 1010 | MACOSX_DEPLOYMENT_TARGET: 10.12 # skip-aarch64
|
| 1011 | + permissions: |
| 1012 | + id-token: write |
| 1013 | + contents: read |
993 | 1014 | strategy:
|
994 | 1015 | matrix:
|
995 | 1016 | mode:
|
@@ -1118,6 +1139,9 @@ jobs:
|
1118 | 1139 | runs-on: macos-latest # skip-x86_64
|
1119 | 1140 | env: # skip-x86_64
|
1120 | 1141 | MACOSX_DEPLOYMENT_TARGET: 11.0 # skip-x86_64
|
| 1142 | + permissions: |
| 1143 | + id-token: write |
| 1144 | + contents: read |
1121 | 1145 | strategy:
|
1122 | 1146 | matrix:
|
1123 | 1147 | mode:
|
|
0 commit comments