You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ jobs:
39
39
contents: write
40
40
41
41
steps:
42
-
- uses: actions/checkout@v3
42
+
- uses: actions/checkout@v4
43
43
44
44
# Other steps that change files in the repository
45
45
@@ -144,7 +144,7 @@ jobs:
144
144
contents: write
145
145
146
146
steps:
147
-
- uses: actions/checkout@v3
147
+
- uses: actions/checkout@v4
148
148
with:
149
149
ref: ${{ github.head_ref }}
150
150
@@ -201,7 +201,7 @@ You must use `action/checkout@v2` or later versions to check out the repository.
201
201
In non-`push` events, such as `pull_request`, make sure to specify the `ref` to check out:
202
202
203
203
```yaml
204
-
- uses: actions/checkout@v3
204
+
- uses: actions/checkout@v4
205
205
with:
206
206
ref: ${{ github.head_ref }}
207
207
```
@@ -219,7 +219,7 @@ You can change this by creating a new [Personal Access Token (PAT)](https://gith
219
219
storing the token as a secret in your repository and then passing the new token to the [`actions/checkout`](https://github.com/actions/checkout#usage) Action step.
220
220
221
221
```yaml
222
-
- uses: actions/checkout@v3
222
+
- uses: actions/checkout@v4
223
223
with:
224
224
token: ${{ secrets.PAT }}
225
225
```
@@ -319,7 +319,7 @@ jobs:
319
319
contents: write
320
320
321
321
steps:
322
-
- uses: actions/checkout@v3
322
+
- uses: actions/checkout@v4
323
323
with:
324
324
# Checkout the fork/head-repository and push changes to the fork.
325
325
# If you skip this, the base repository will be checked out and changes
@@ -366,7 +366,7 @@ jobs:
366
366
php-cs-fixer:
367
367
runs-on: ubuntu-latest
368
368
steps:
369
-
- uses: actions/checkout@v3
369
+
- uses: actions/checkout@v4
370
370
371
371
- name: Run php-cs-fixer
372
372
uses: docker://oskarstark/php-cs-fixer-ga
@@ -408,7 +408,7 @@ Finally, you have to use `push_options: '--force'` to overwrite the git history
408
408
The steps in your workflow might look like this:
409
409
410
410
```yaml
411
-
- uses: actions/checkout@master
411
+
- uses: actions/checkout@4
412
412
with:
413
413
# Fetch the last 2 commits instead of just 1. (Fetching just 1 commit would overwrite the whole history)
414
414
fetch-depth: 2
@@ -452,7 +452,7 @@ First, you have to create a new [Personal Access Token (PAT)](https://github.com
452
452
store the token as a secret in your repository and pass the new token to the [`actions/checkout`](https://github.com/actions/checkout#usage) Action step.
0 commit comments