File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Checkout the website
14
- uses : actions/checkout@v3
14
+ uses : actions/checkout@v4
15
15
with :
16
16
repository : api-platform/website
17
17
ref : main
20
20
id : yarn-cache-dir-path
21
21
run : echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
22
22
23
- - uses : actions/cache@v3
23
+ - uses : actions/cache@v4
24
24
id : yarn-cache
25
25
with :
26
26
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
Original file line number Diff line number Diff line change 4
4
push :
5
5
pull_request :
6
6
7
+ permissions : {}
8
+
7
9
jobs :
8
10
build :
9
11
name : Lint
10
12
runs-on : ubuntu-latest
11
13
14
+ permissions :
15
+ contents : read
16
+ packages : read
17
+ statuses : write
18
+
12
19
steps :
13
20
- name : Checkout
14
- uses : actions/checkout@v3
21
+ uses : actions/checkout@v4
22
+ with :
23
+ fetch-depth : 0
15
24
16
25
- name : Lint
17
26
uses : github/super-linter/slim@v4
18
27
env :
19
28
VALIDATE_ALL_CODEBASE : false
20
29
VALIDATE_EDITORCONFIG : false
21
30
VALIDATE_JSCPD : false
22
- DEFAULT_BRANCH : main
31
+ DEFAULT_BRANCH : " 3.3 "
23
32
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24
33
25
- - uses : actions/cache@v3
34
+ - uses : actions/cache@v4
26
35
with :
27
36
path : ~/.cache/pip
28
37
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
You can’t perform that action at this time.
0 commit comments