Skip to content

Commit

Permalink
Get workflow information in codeql workflow (apache#44450)
Browse files Browse the repository at this point in the history
* get workflow information in codeql

* add github context
  • Loading branch information
gopidesupavan authored Nov 28, 2024
1 parent d41bc70 commit ff52d17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit ff52d17

Please sign in to comment.