Skip to content

Commit

Permalink
Merge pull request #4 from aktsk/mend
Browse files Browse the repository at this point in the history
Scan code with mend
  • Loading branch information
yasuno0327 authored Apr 18, 2023
2 parents 45778ee + bee37e6 commit 5500287
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/mend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: mend
permissions:
contents: read
id-token: write
on:
schedule:
- cron: '30 7 * * 1'

jobs:
scan-code:
runs-on: ubuntu-20.04
steps:
- name: Checkout mend action
uses: actions/checkout@v3
with:
repository: aktsk/mend-action
path: ./.github/actions/mend-action
ssh-key: ${{ secrets.MEND_CHECKOUT_KEY }}
- name: Generate credential of GCP
uses: 'google-github-actions/auth@v1'
with:
workload_identity_provider: ${{ secrets.MEND_GCP_PROVIDER_ID }}
service_account: ${{ secrets.MEND_SERVICE_ACCOUNT }}
- name: Scan repo
uses: ./.github/actions/mend-action
with:
mend_api_key: ${{ secrets.MEND_API_KEY }}
mend_user_key: ${{ secrets.MEND_USER_KEY }}
slack_token: ${{ secrets.MEND_SLACK_TOKEN }}

0 comments on commit 5500287

Please sign in to comment.