mirror of
https://github.com/github/codeql-action.git
synced 2026-01-01 20:20:07 +08:00
https://github.com/github/codeql-action/pull/1098 This reverts commit777b778409. This reverts commit59ca9b59cb. This reverts commiteec34d5f05. This reverts commit40b280032c.
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
name: Expected queries runs
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- releases/v1
|
|
- releases/v2
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- ready_for_review
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
expected-queries:
|
|
name: Expected Queries Tests
|
|
timeout-minutes: 45
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v3
|
|
- name: Prepare test
|
|
id: prepare-test
|
|
uses: ./.github/prepare-test
|
|
with:
|
|
version: latest
|
|
- uses: ./../action/init
|
|
with:
|
|
languages: javascript
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
- uses: ./../action/analyze
|
|
with:
|
|
output: ${{ runner.temp }}/results
|
|
upload-database: false
|
|
upload: false
|
|
env:
|
|
TEST_MODE: true
|
|
|
|
- name: Check Sarif
|
|
uses: ./../action/.github/check-sarif
|
|
with:
|
|
sarif-file: ${{ runner.temp }}/results/javascript.sarif
|
|
queries-run: js/incomplete-hostname-regexp,js/path-injection
|
|
queries-not-run: foo,bar
|