We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
actionsPermissionsDataModel
1 parent bd7c684 commit ee1eb19Copy full SHA for ee1eb19
1 file changed
actions/ql/lib/codeql/actions/config/ConfigExtensions.qll
@@ -80,5 +80,10 @@ extensible predicate untrustedGhCommandDataModel(string cmd_regex, string flag);
80
81
/**
82
* Holds if `action` needs `permission` to run.
83
+ * - 'action' is the name of the action without any version information.
84
+ * E.g. for the action selector `actions/checkout@v2`, `action` is `actions/checkout`.
85
+ * - `permission` is of the form `scope-name: read|write`, for example `contents: read`.
86
+ * - see https://github.com/actions/checkout?tab=readme-ov-file#recommended-permissions
87
+ * for an example of recommended permissions.
88
*/
89
extensible predicate actionsPermissionsDataModel(string action, string permission);
0 commit comments