AST-62770 Read the scan results summary from the s3 file (#304) #18
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: Nightly Release | |
permissions: | |
id-token: write | |
contents: write | |
packages: write | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
check-dependabot-commits: | |
name: Check if dependabot commits exist | |
outputs: | |
isDependabot: ${{ steps.check-dependabot.outputs.dependabotExists }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if dependabot commits exist | |
id: check-dependabot | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "dependabotExists=$(echo $GITHUB_CONTEXT | jq '.event.commits[].author | any(. == "dependabot[bot]")')" >> $GITHUB_OUTPUT | |
nightly: | |
needs: check-dependabot-commits | |
if: ${{needs.check-dependabot-commits.outputs.isDependabot == 'false'}} | |
uses: jenkinsci/checkmarx-ast-scanner-plugin/.github/workflows/cd.yml@main | |
secrets: inherit |