add support for scan triggers #51
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
name: test github action | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
jobs: | |
test_action: | |
name: test github action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build test suite image | |
run: make test.build | |
- name: Execute test suite | |
run: make test | |
- name: Execute example-diff-sarif | |
uses: ./ | |
with: | |
api_enabled: "false" | |
registry_module: scanners/examples/example-diff-sarif |