|
8 | 8 | branches: |
9 | 9 | - "2.1.x" |
10 | 10 |
|
| 11 | +concurrency: |
| 12 | + group: build-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches |
| 13 | + cancel-in-progress: true |
| 14 | + |
11 | 15 | permissions: |
12 | 16 | contents: read |
13 | 17 |
|
|
36 | 40 |
|
37 | 41 | - name: "Checkout" |
38 | 42 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 43 | + with: |
| 44 | + persist-credentials: false |
39 | 45 |
|
40 | 46 | - name: "Install PHP" |
41 | 47 | uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # v2 |
@@ -65,10 +71,13 @@ jobs: |
65 | 71 |
|
66 | 72 | - name: "Checkout" |
67 | 73 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 74 | + with: |
| 75 | + persist-credentials: false |
68 | 76 |
|
69 | 77 | - name: "Checkout build-cs" |
70 | 78 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
71 | 79 | with: |
| 80 | + persist-credentials: false |
72 | 81 | repository: "phpstan/build-cs" |
73 | 82 | path: "build-cs" |
74 | 83 | ref: "2.x" |
@@ -123,6 +132,8 @@ jobs: |
123 | 132 |
|
124 | 133 | - name: "Checkout" |
125 | 134 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 135 | + with: |
| 136 | + persist-credentials: false |
126 | 137 |
|
127 | 138 | - name: "Install PHP" |
128 | 139 | uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # v2 |
@@ -169,6 +180,8 @@ jobs: |
169 | 180 |
|
170 | 181 | - name: "Checkout" |
171 | 182 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 183 | + with: |
| 184 | + persist-credentials: false |
172 | 185 |
|
173 | 186 | - name: "Install PHP" |
174 | 187 | uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # v2 |
@@ -203,14 +216,16 @@ jobs: |
203 | 216 |
|
204 | 217 | - name: "Checkout" |
205 | 218 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 219 | + with: |
| 220 | + persist-credentials: false |
206 | 221 |
|
207 | 222 | - name: "Install PHP" |
208 | 223 | uses: "shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962" # v2 |
209 | 224 | with: |
210 | 225 | coverage: "none" |
211 | 226 | php-version: "8.5" |
212 | 227 |
|
213 | | - - uses: "ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda" # v4.0.0 |
| 228 | + - uses: "ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda" # 4.0.0 |
214 | 229 |
|
215 | 230 | - name: "Name Collision Detector" |
216 | 231 | run: "make name-collision" |
0 commit comments