Skip to content

mend

mend #19

Workflow file for this run

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 }}