Skip to content

Send DSO metrics events #5

Send DSO metrics events

Send DSO metrics events #5

name: Send DSO metrics events
on:
schedule:
- cron: '0 * * * *'
permissions:
id-token: write
jobs:
SendDSOEvents:
runs-on: ubuntu-latest
steps:
- name: Send DSO events
uses: Enterprise-CMCS/mac-fc-scan-github@v1.0.1
with:
aws-account-id: ${{ secrets.PROD_AWS_ACCOUNT_ID }}
oidc-role: arn:aws:iam::${{secrets.PROD_AWS_ACCOUNT_ID }}:role/delegatedadmin/developer/github-oidc-prod-ServiceRole
github-access-token: ${{ secrets.GITHUB_ACCESS_TOKEN }}
scan-config: |
events: # a list of event specifications such as the following one
- type: deploy
environment: prod
name: mc-review-promote
team: mv-review
owner: Enterprise-CMCS
repo: managed-care-review
workflowfilename: promote.yml
branch: main
- type: test
environment: prod
name: mc-review-test
team: mc-review
owner: Enterprise-CMCS
repo: managed-care-review
workflowfilename: promote.yml
branch: main
start:
job: unit-tests
end:
job: unit-tests