mirror of
https://github.com/github/codeql.git
synced 2025-12-28 14:46:33 +01:00
30 lines
664 B
YAML
30 lines
664 B
YAML
name: "codeql-actions"
|
|
description: "CodeQL Pack for GitHub Actions and Workflows"
|
|
|
|
inputs:
|
|
token:
|
|
description: GitHub Token
|
|
default: ${{ github.token }}
|
|
|
|
source-root:
|
|
description: "Path of the root source code directory, relative to $GITHUB_WORKSPACE."
|
|
default: "./"
|
|
|
|
sarif:
|
|
description: "SARIF File Output"
|
|
default: "codeql-actions.sarif"
|
|
|
|
# runs:
|
|
# using: "node16"
|
|
# main: ".github/action/dist/index.js"
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Do something with context
|
|
shell: bash
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
run: |
|
|
node ${{ github.action_path }}/.github/action/dist/index.js
|