-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6a05d4
commit f1ca338
Showing
4 changed files
with
86 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 4 additions & 5 deletions
9
.github/workflows/__ref-commit-input.yml → .github/workflows/__upload-ref-sha-input.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: "Analyze: 'ref' and 'sha' from inputs" | ||
description: "Checks that specifying 'ref' and 'sha' as inputs works" | ||
steps: | ||
- 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 }} | ||
- name: Build code | ||
shell: bash | ||
run: ./build.sh | ||
- uses: ./../action/analyze | ||
with: | ||
ref: 'refs/heads/main' | ||
sha: '5e235361806c361d4d3f8859e3c897658025a9a2' | ||
env: | ||
TEST_MODE: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters