File tree 6 files changed +54
-20
lines changed
extensions/immutable-actions-list
6 files changed +54
-20
lines changed Original file line number Diff line number Diff line change
1
+ extensions :
2
+ - addsTo :
3
+ pack : codeql/actions-all
4
+ extensible : immutableActionsDataModel
5
+ data :
6
+ - ["actions/checkout"]
7
+ - ["actions/cache"]
8
+ - ["actions/setup-node"]
9
+ - ["actions/upload-artifact"]
10
+ - ["actions/setup-python"]
11
+ - ["actions/download-artifact"]
12
+ - ["actions/github-script"]
13
+ - ["actions/setup-java"]
14
+ - ["actions/setup-go"]
15
+ - ["actions/upload-pages-artifact"]
16
+ - ["actions/deploy-pages"]
17
+ - ["actions/setup-dotnet"]
18
+ - ["actions/stale"]
19
+ - ["actions/labeler"]
20
+ - ["actions/create-github-app-token"]
21
+ - ["actions/configure-pages"]
22
+ - ["github/codeql-action/analyze"]
23
+ - ["github/codeql-action/autobuild"]
24
+ - ["github/codeql-action/init"]
25
+ - ["github/codeql-action/resolve-environment"]
26
+ - ["github/codeql-action/start-proxy"]
27
+ - ["github/codeql-action/upload-sarif"]
28
+ - ["octokit/request-action"]
Original file line number Diff line number Diff line change
1
+ # Model pack containing the list of known immutable actions. The Immutable Actions feature is not
2
+ # yet released, so this pack will only be used within GitHub. Once the feature is available to
3
+ # customers, we will move the contents of this pack back into the standard library pack.
4
+ name : github/immutable-actions-list
5
+ version : 0.0.1-dev
6
+ library : true
7
+ extensionTargets :
8
+ # We expect to need this model pack even after GA of Actions analysis, so make it compatible with
9
+ # all future prereleases plus 1.x.x. We should be able to remove this back before we need to
10
+ # bump the major version to 2.
11
+ codeql/actions-all : " >=0.4.3 <2.0.0"
12
+ dataExtensions :
13
+ - ext/**/*.yml
Original file line number Diff line number Diff line change @@ -2,21 +2,9 @@ extensions:
2
2
- addsTo :
3
3
pack : codeql/actions-all
4
4
extensible : immutableActionsDataModel
5
- data :
6
- - ["actions/checkout"]
7
- - ["actions/cache"]
8
- - ["actions/setup-node"]
9
- - ["actions/upload-artifact"]
10
- - ["actions/setup-python"]
11
- - ["actions/download-artifact"]
12
- - ["actions/github-script"]
13
- - ["actions/setup-java"]
14
- - ["actions/setup-go"]
15
- - ["actions/upload-pages-artifact"]
16
- - ["actions/deploy-pages"]
17
- - ["actions/setup-dotnet"]
18
- - ["actions/stale"]
19
- - ["actions/labeler"]
20
- - ["actions/create-github-app-token"]
21
- - ["actions/configure-pages"]
22
- - ["octokit/request-action"]
5
+ # Since the Immutable Actions feature is not yet available to customers, we won't alert about
6
+ # any unversioned immutable action references for now. Within GitHub, we'll include the
7
+ # `github/immutable-actions-list` model pack, which will provide the necessary list of actions
8
+ # for internal use. Once the feature is available to customers, we'll move that list back into
9
+ # this file.
10
+ data : []
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ extensions:
5
5
data :
6
6
- ["actions"]
7
7
- ["github"]
8
- - ["advanced-security"]
8
+ - ["advanced-security"]
9
+ - ["octokit"]
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ groups: [codeql, test]
3
3
dependencies :
4
4
codeql/actions-all : ${workspace}
5
5
codeql/actions-queries : ${workspace}
6
+ # Use the `immutable-actions-list` model pack so that we have some actual data to test against.
7
+ # We can remove this dependency when we incorporate the data from that model pack back into the
8
+ # standard library pack.
9
+ github/immutable-actions-list : ${workspace}
6
10
extractor : actions
7
11
tests : .
8
12
warnOnImplicitThis : true
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ provide:
17
17
- " misc/legacy-support/*/qlpack.yml"
18
18
- " misc/suite-helpers/qlpack.yml"
19
19
- " .github/codeql/extensions/**/codeql-pack.yml"
20
-
20
+ - " actions/ql/extensions/**/qlpack.yml "
21
21
versionPolicies :
22
22
default :
23
23
requireChangeNotes : true
You can’t perform that action at this time.
0 commit comments