feat(SEC-1265): process to sync OCI artifacts from upstream to Kong ECR #402
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: Rust SCA Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
workflow_dispatch: {} | |
jobs: | |
test-rust-sca: | |
permissions: | |
# required for all workflows | |
security-events: write | |
checks: write | |
pull-requests: write | |
# only required for workflows in private repositories | |
actions: read | |
contents: read | |
env: | |
TEST_REPOSITORY: "${{github.repository_owner}}/atc-router" | |
runs-on: ubuntu-latest | |
name: Rust code analysis and SCA checks | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{env.TEST_REPOSITORY}} | |
path: ${{env.TEST_REPOSITORY}} | |
- uses: ./security-actions/scan-rust | |
with: | |
asset_prefix: ${{env.TEST_REPOSITORY}} | |
dir: ${{ github.workspace }}/${{env.TEST_REPOSITORY}} | |
codeql_upload: false |