mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Move list of immutable actions into internal model pack for now.
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
extensions:
|
||||||
|
- addsTo:
|
||||||
|
pack: codeql/actions-all
|
||||||
|
extensible: immutableActionsDataModel
|
||||||
|
data:
|
||||||
|
- ["actions/checkout"]
|
||||||
|
- ["actions/cache"]
|
||||||
|
- ["actions/setup-node"]
|
||||||
|
- ["actions/upload-artifact"]
|
||||||
|
- ["actions/setup-python"]
|
||||||
|
- ["actions/download-artifact"]
|
||||||
|
- ["actions/github-script"]
|
||||||
|
- ["actions/setup-java"]
|
||||||
|
- ["actions/setup-go"]
|
||||||
|
- ["actions/upload-pages-artifact"]
|
||||||
|
- ["actions/deploy-pages"]
|
||||||
|
- ["actions/setup-dotnet"]
|
||||||
|
- ["actions/stale"]
|
||||||
|
- ["actions/labeler"]
|
||||||
|
- ["actions/create-github-app-token"]
|
||||||
|
- ["actions/configure-pages"]
|
||||||
|
- ["github/codeql-action/analyze"]
|
||||||
|
- ["github/codeql-action/autobuild"]
|
||||||
|
- ["github/codeql-action/init"]
|
||||||
|
- ["github/codeql-action/resolve-environment"]
|
||||||
|
- ["github/codeql-action/start-proxy"]
|
||||||
|
- ["github/codeql-action/upload-sarif"]
|
||||||
|
- ["octokit/request-action"]
|
||||||
13
actions/ql/extensions/immutable-actions-list/qlpack.yml
Normal file
13
actions/ql/extensions/immutable-actions-list/qlpack.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Model pack containing the list of known immutable actions. The Immutable Actions feature is not
|
||||||
|
# yet released, so this pack will only be used within GitHub. Once the feature is available to
|
||||||
|
# customers, we will move the contents of this pack back into the standard library pack.
|
||||||
|
name: github/immutable-actions-list
|
||||||
|
version: 0.0.1-dev
|
||||||
|
library: true
|
||||||
|
extensionTargets:
|
||||||
|
# We expect to need this model pack even after GA of Actions analysis, so make it compatible with
|
||||||
|
# all future prereleases plus 1.x.x. We should be able to remove this back before we need to
|
||||||
|
# bump the major version to 2.
|
||||||
|
codeql/actions-all: ">=0.4.3 <2.0.0"
|
||||||
|
dataExtensions:
|
||||||
|
- ext/**/*.yml
|
||||||
@@ -2,21 +2,9 @@ extensions:
|
|||||||
- addsTo:
|
- addsTo:
|
||||||
pack: codeql/actions-all
|
pack: codeql/actions-all
|
||||||
extensible: immutableActionsDataModel
|
extensible: immutableActionsDataModel
|
||||||
data:
|
# Since the Immutable Actions feature is not yet available to customers, we won't alert about
|
||||||
- ["actions/checkout"]
|
# any unversioned immutable action references for now. Within GitHub, we'll include the
|
||||||
- ["actions/cache"]
|
# `github/immutable-actions-list` model pack, which will provide the necessary list of actions
|
||||||
- ["actions/setup-node"]
|
# for internal use. Once the feature is available to customers, we'll move that list back into
|
||||||
- ["actions/upload-artifact"]
|
# this file.
|
||||||
- ["actions/setup-python"]
|
data: []
|
||||||
- ["actions/download-artifact"]
|
|
||||||
- ["actions/github-script"]
|
|
||||||
- ["actions/setup-java"]
|
|
||||||
- ["actions/setup-go"]
|
|
||||||
- ["actions/upload-pages-artifact"]
|
|
||||||
- ["actions/deploy-pages"]
|
|
||||||
- ["actions/setup-dotnet"]
|
|
||||||
- ["actions/stale"]
|
|
||||||
- ["actions/labeler"]
|
|
||||||
- ["actions/create-github-app-token"]
|
|
||||||
- ["actions/configure-pages"]
|
|
||||||
- ["octokit/request-action"]
|
|
||||||
|
|||||||
@@ -6,3 +6,4 @@ extensions:
|
|||||||
- ["actions"]
|
- ["actions"]
|
||||||
- ["github"]
|
- ["github"]
|
||||||
- ["advanced-security"]
|
- ["advanced-security"]
|
||||||
|
- ["octokit"]
|
||||||
|
|||||||
@@ -3,6 +3,10 @@ groups: [codeql, test]
|
|||||||
dependencies:
|
dependencies:
|
||||||
codeql/actions-all: ${workspace}
|
codeql/actions-all: ${workspace}
|
||||||
codeql/actions-queries: ${workspace}
|
codeql/actions-queries: ${workspace}
|
||||||
|
# Use the `immutable-actions-list` model pack so that we have some actual data to test against.
|
||||||
|
# We can remove this dependency when we incorporate the data from that model pack back into the
|
||||||
|
# standard library pack.
|
||||||
|
github/immutable-actions-list: ${workspace}
|
||||||
extractor: actions
|
extractor: actions
|
||||||
tests: .
|
tests: .
|
||||||
warnOnImplicitThis: true
|
warnOnImplicitThis: true
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ provide:
|
|||||||
- "misc/legacy-support/*/qlpack.yml"
|
- "misc/legacy-support/*/qlpack.yml"
|
||||||
- "misc/suite-helpers/qlpack.yml"
|
- "misc/suite-helpers/qlpack.yml"
|
||||||
- ".github/codeql/extensions/**/codeql-pack.yml"
|
- ".github/codeql/extensions/**/codeql-pack.yml"
|
||||||
|
- "actions/ql/extensions/**/qlpack.yml"
|
||||||
versionPolicies:
|
versionPolicies:
|
||||||
default:
|
default:
|
||||||
requireChangeNotes: true
|
requireChangeNotes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user