Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
github
/
codeql-action
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
fe2e30b
.github
ISSUE_TEMPLATE
check-codescanning-config
check-sarif
codeql
prepare-test
query-filter-test
workflows
script
update-supported-enterprise-server-versions
__analyze-ref-input.yml
__autobuild-action.yml
__extractor-ram-threads.yml
__go-custom-queries.yml
__go-custom-tracing-autobuild.yml
__go-custom-tracing.yml
__go-reconciled-tracing-autobuilder.yml
__go-reconciled-tracing-custom-build-steps.yml
__go-reconciled-tracing-legacy-workflow.yml
__init-with-registries.yml
__javascript-source-root.yml
__ml-powered-queries.yml
__multi-language-autodetect.yml
__packaging-codescanning-config-inputs-js.yml
__packaging-config-inputs-js.yml
__packaging-config-js.yml
__packaging-inputs-js.yml
__remote-config.yml
__rubocop-multi-language.yml
__split-workflow.yml
__test-autobuild-working-dir.yml
__test-local-codeql.yml
__test-proxy.yml
__test-ruby.yml
__unset-environment.yml
__upload-ref-sha-input.yml
__with-checkout-path.yml
check-expected-release-files.yml
codeql.yml
codescanning-config-cli.yml
debug-artifacts-failure.yml
debug-artifacts.yml
expected-queries-runs.yml
post-release-mergeback.yml
pr-checks.yml
python-deps.yml
query-filters.yml
runner-checks.yml
update-dependencies.yml
update-release-branch.yml
update-supported-enterprise-server-versions.yml
dependabot.yml
pull_request_template.md
update-release-branch.py
.vscode
analyze
autobuild
init
lib
node_modules
pr-checks
python-setup
queries
runner
src
tests
upload-sarif
.editorconfig
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
CHANGELOG.md
CODEOWNERS
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
package-lock.json
package.json
tsconfig.json
Breadcrumbs
codeql-action
/
.github
/
workflows
/
__upload-ref-sha-input.yml
View Runs
Blame
Blame
Latest commit
History
History
104 lines (103 loc) · 2.84 KB
Breadcrumbs
codeql-action
/
.github
/
workflows
/
__upload-ref-sha-input.yml
Top
File metadata and controls
Code
Blame
104 lines (103 loc) · 2.84 KB
Raw
# Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: # pip install ruamel.yaml && python3 sync.py # to regenerate this file. name: "PR Check - Upload-sarif: 'ref' and 'sha' from inputs" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GO111MODULE: auto on: push: branches: - main - releases/v1 - releases/v2 pull_request: types: - opened - synchronize - reopened - ready_for_review workflow_dispatch: {} jobs: upload-ref-sha-input: strategy: matrix: include: - os: ubuntu-latest version: stable-20210308 - os: macos-latest version: stable-20210308 - os: windows-2019 version: stable-20210308 - os: ubuntu-latest version: stable-20210319 - os: macos-latest version: stable-20210319 - os: windows-2019 version: stable-20210319 - os: ubuntu-latest version: stable-20210809 - os: macos-latest version: stable-20210809 - os: windows-2019 version: stable-20210809 - os: ubuntu-latest version: cached - os: macos-latest version: cached - os: windows-2019 version: cached - os: ubuntu-latest version: latest - os: macos-latest version: latest - os: windows-2019 version: latest - os: windows-2022 version: latest - os: ubuntu-latest version: nightly-latest - os: macos-latest version: nightly-latest - os: windows-2019 version: nightly-latest - os: windows-2022 version: nightly-latest name: "Upload-sarif: 'ref' and 'sha' from inputs" timeout-minutes: 45 runs-on: ${{ matrix.os }} steps: - name: Check out repository uses: actions/checkout@v3 - name: Prepare test id: prepare-test uses: ./.github/prepare-test with: version: ${{ matrix.version }} - uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }} languages: cpp,csharp,java,javascript,python config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{ github.sha }} env: TEST_MODE: true - name: Build code shell: bash run: ./build.sh - uses: ./../action/analyze with: ref: refs/heads/main sha: 5e235361806c361d4d3f8859e3c897658025a9a2 upload: false env: TEST_MODE: true - uses: ./../action/upload-sarif with: ref: refs/heads/main sha: 5e235361806c361d4d3f8859e3c897658025a9a2 env: TEST_MODE: true env: INTERNAL_CODEQL_ACTION_DEBUG_LOC: true
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
You can’t perform that action at this time.