|
4 | 4 |
|
5 | 5 | name: Build and Test |
6 | 6 |
|
7 | | -permissions: {} |
| 7 | +permissions: |
| 8 | + contents: read |
| 9 | + actions: read |
8 | 10 |
|
9 | 11 | on: |
10 | 12 | pull_request: |
|
64 | 66 | steps: |
65 | 67 | - name: Checkout |
66 | 68 | uses: actions/checkout@v5 |
67 | | - with: |
68 | | - repository: ${{ github.repository }} |
69 | | - token: ${{ github.token }} |
70 | | - persist-credentials: false |
71 | 69 |
|
72 | 70 | - name: Use Node ${{env.NODE_VERSION}} |
73 | 71 | uses: actions/setup-node@v4 |
@@ -108,10 +106,6 @@ jobs: |
108 | 106 | steps: |
109 | 107 | - name: Checkout |
110 | 108 | uses: actions/checkout@v5 |
111 | | - with: |
112 | | - repository: ${{ github.repository }} |
113 | | - token: ${{ github.token }} |
114 | | - persist-credentials: false |
115 | 109 |
|
116 | 110 | - name: Use Node ${{env.NODE_VERSION}} |
117 | 111 | uses: actions/setup-node@v4 |
@@ -198,10 +192,6 @@ jobs: |
198 | 192 | steps: |
199 | 193 | - name: Checkout |
200 | 194 | uses: actions/checkout@v5 |
201 | | - with: |
202 | | - repository: ${{ github.repository }} |
203 | | - token: ${{ github.token }} |
204 | | - persist-credentials: false |
205 | 195 |
|
206 | 196 | - name: Use Node ${{env.NODE_VERSION}} |
207 | 197 | uses: actions/setup-node@v4 |
@@ -379,10 +369,6 @@ jobs: |
379 | 369 | steps: |
380 | 370 | - name: Checkout |
381 | 371 | uses: actions/checkout@v5 |
382 | | - with: |
383 | | - repository: ${{ github.repository }} |
384 | | - token: ${{ github.token }} |
385 | | - persist-credentials: false |
386 | 372 |
|
387 | 373 | - name: Generate Tag Variable |
388 | 374 | run: echo "TAGSVAR=${{ matrix.tags }}}" >> $GITHUB_ENV |
@@ -807,10 +793,6 @@ jobs: |
807 | 793 | steps: |
808 | 794 | - name: Checkout |
809 | 795 | uses: actions/checkout@v5 |
810 | | - with: |
811 | | - repository: ${{ github.repository }} |
812 | | - token: ${{ github.token }} |
813 | | - persist-credentials: false |
814 | 796 |
|
815 | 797 | - name: Use Python ${{matrix.python}} |
816 | 798 | uses: actions/setup-python@v5 |
|
0 commit comments