File tree 4 files changed +39
-16
lines changed
4 files changed +39
-16
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 2
3
+ updates :
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " weekly"
8
+ groups :
9
+ actions :
10
+ patterns :
11
+ - " *"
Original file line number Diff line number Diff line change @@ -27,16 +27,14 @@ jobs:
27
27
28
28
steps :
29
29
- name : Checkout repository
30
- uses : actions/checkout@v3
30
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31
+ with :
32
+ persist-credentials : false
31
33
32
34
- name : Initialize CodeQL
33
- uses : github/codeql-action/init@v1
35
+ uses : github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
34
36
with :
35
37
languages : ${{ matrix.language }}
36
38
37
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
38
- - name : Autobuild
39
- uses : github/codeql-action/autobuild@v1
40
-
41
39
- name : Perform CodeQL Analysis
42
- uses : github/codeql-action/analyze@v1
40
+ uses : github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
Original file line number Diff line number Diff line change 3
3
name : Linting
4
4
on : [pull_request]
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
flake8 :
8
11
name : flake8
9
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ checks : write
10
15
steps :
11
- - uses : actions/checkout@v3
16
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
+ with :
18
+ persist-credentials : false
12
19
13
20
- name : Set up Python 3
14
- uses : actions/setup-python@v3
21
+ uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
15
22
16
23
- name : Install flake8
17
24
run : pip3 install flake8
18
25
19
26
- name : Set up reviewdog
20
- uses : reviewdog/action-setup@v1
27
+ uses : reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.9
21
28
22
29
- name : Run flake8
23
30
env :
@@ -31,12 +38,15 @@ jobs:
31
38
ansible :
32
39
name : Ansible Lint
33
40
runs-on : ubuntu-latest
34
-
41
+ permissions :
42
+ checks : write
35
43
steps :
36
- - uses : actions/checkout@v3
44
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45
+ with :
46
+ persist-credentials : false
37
47
38
48
- name : Set up Python 3
39
- uses : actions/setup-python@v3
49
+ uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
40
50
41
51
- name : ansible-lint
42
- uses : reviewdog/action-ansiblelint@v1
52
+ uses : reviewdog/action-ansiblelint@281c57acb22e30c7db4fc84bbe30d86dc5b24234 # v1.16.0
Original file line number Diff line number Diff line change @@ -5,15 +5,19 @@ on: [push, pull_request]
5
5
6
6
jobs :
7
7
webhook :
8
+ permissions :
9
+ contents : read
8
10
runs-on : ubuntu-latest
9
11
strategy :
10
12
matrix :
11
13
python-version : ["3.11", "3.12"]
12
14
steps :
13
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
+ with :
17
+ persist-credentials : false
14
18
15
19
- name : Install Python ${{ matrix.python-version }}
16
- uses : actions/setup-python@v3
20
+ uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
17
21
with :
18
22
python-version : ${{ matrix.python-version }}
19
23
You can’t perform that action at this time.
0 commit comments