ArmorCode Release Gate #14
This file contains hidden or 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: ArmorCode Release Gate | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| release_gate_check: # Update the job name as needed | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write # For writing to the checks tab | |
| pull-requests: write # For commenting on PRs | |
| contents: read # For accessing repo content | |
| steps: | |
| - name: Run ArmorCode Release Gate | |
| id: armorcode_gate | |
| uses: docker://public.ecr.aws/armor-code/armorcode-release-gate:latest | |
| with: | |
| product: 'RamyDemoApp1' | |
| subProduct: 'RamyRepoTest' | |
| env: 'Production' | |
| armorcodeHost: 'https://app.armorcode.com' | |
| mode: 'block' | |
| armorcodeAPIToken: ${{ secrets.ARMORCODE_API_TOKEN }} | |
| githubToken: ${{ github.token }} | |
| additionalAQLFilters: "" |