This is an automated email from the ASF dual-hosted git repository.

weilee pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new ff52d1737ce Get workflow information in codeql workflow (#44450)
ff52d1737ce is described below

commit ff52d1737ce971945eecbad33890719d729e04e6
Author: GPK <[email protected]>
AuthorDate: Thu Nov 28 10:00:27 2024 +0000

    Get workflow information in codeql workflow (#44450)
    
    * get workflow information in codeql
    
    * add github context
---
 .github/workflows/codeql-analysis.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index bf239bf1e84..b5227f164e5 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -36,6 +36,8 @@ jobs:
   selective-checks:
     name: Selective checks
     runs-on: ["ubuntu-22.04"]
+    env:
+      GITHUB_CONTEXT: ${{ toJson(github) }}
     outputs:
       needs-python-scans: ${{ 
steps.selective-checks.outputs.needs-python-scans }}
       needs-javascript-scans: ${{ 
steps.selective-checks.outputs.needs-javascript-scans }}
@@ -47,6 +49,9 @@ jobs:
           persist-credentials: false
       - name: "Install Breeze"
         uses: ./.github/actions/breeze
+      - name: "Get information about the Workflow"
+        id: source-run-info
+        run: breeze ci get-workflow-info 2>> ${GITHUB_OUTPUT}
       - name: Selective checks
         id: selective-checks
         env:

Reply via email to