diff --git a/.github/workflows/github-repo.yaml b/.github/workflows/github-repo.yaml index e77eb74..c3c573a 100644 --- a/.github/workflows/github-repo.yaml +++ b/.github/workflows/github-repo.yaml @@ -14,11 +14,10 @@ jobs: name: Test GitHub repo scanning steps: - uses: actions/checkout@v3 -# currently broken, because of https://github.com/mondoohq/cnspec/issues/239 -# - name: Scan GitHub repo -# uses: ./github-repo -# env: -# MONDOO_CONFIG_BASE64: ${{ secrets.MONDOO_SERVICE_ACCOUNT }} -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# with: -# repository: mondoohq/actions + - name: Scan GitHub repo + uses: ./github-repo + env: + MONDOO_CONFIG_BASE64: ${{ secrets.MONDOO_SERVICE_ACCOUNT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + repository: mondoohq/actions diff --git a/github-org/action.yaml b/github-org/action.yaml index 4c8af42..2540c51 100644 --- a/github-org/action.yaml +++ b/github-org/action.yaml @@ -44,7 +44,6 @@ runs: - ${{ inputs.score-threshold }} - --log-level - ${{ inputs.log-level }} - - --detect-cicd - - ${{ inputs.is-cicd }} + - --detect-cicd=${{ inputs.is-cicd }} env: MONDOO_CONFIG_BASE64: ${{ inputs.service-account-credentials }} diff --git a/github-repo/action.yaml b/github-repo/action.yaml index 1f2014e..63b260b 100644 --- a/github-repo/action.yaml +++ b/github-repo/action.yaml @@ -42,7 +42,6 @@ runs: - ${{ inputs.score-threshold }} - --log-level - ${{ inputs.log-level }} - - --detect-cicd - - ${{ inputs.is-cicd }} + - --detect-cicd=${{ inputs.is-cicd }} env: MONDOO_CONFIG_BASE64: ${{ inputs.service-account-credentials }}