Skip to content

Commit

Permalink
🐛 Fix github repo and org actions (#54)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker authored Jan 30, 2023
1 parent c769319 commit 4d719c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/github-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions github-org/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 1 addition & 2 deletions github-repo/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 4d719c7

Please sign in to comment.