From a883cff4b050cceafa91ed2522471aecc36be06d Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 29 Oct 2024 09:24:06 -0700 Subject: [PATCH 1/2] Add the action stub This is required for the migration of the codeql-action to an immutable action. We can delete this after the migration is done, or just keep it so people have an extra way to understand how to use the action. --- action.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000000..8fa2f665ba --- /dev/null +++ b/action.yml @@ -0,0 +1,11 @@ +name: 'CodeQL: Stub' +description: "Stub: Don\'t use this action directly. Read [the documentation](https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql) instead." +author: 'GitHub' +runs: + using: 'composite' + steps: + - name: 'Stub' + run: | + echo 'This is a stub. Read [the documentation](https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql) instead.' + exit 1 + shell: bash From 6554251ea7336ce84823cb340237f6e69a1aea83 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 29 Oct 2024 14:21:39 -0700 Subject: [PATCH 2/2] Update action.yml Co-authored-by: Henry Mercer --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8fa2f665ba..87c4974ea9 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ name: 'CodeQL: Stub' -description: "Stub: Don\'t use this action directly. Read [the documentation](https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql) instead." +description: "Stub: Don't use this action directly. Read [the documentation](https://docs.github.com/en/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql) instead." author: 'GitHub' runs: using: 'composite'