-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 1010 Bytes
/
drift.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Drift Detection
on:
workflow_dispatch:
#schedule: ## Schedule the job to run at 12.am daily.
# - cron: '0 0 * * *'
jobs:
detect-drift:
runs-on: ubuntu-latest
steps:
- name: digger drift detection
uses: diggerhq/digger@vee
with:
ee: 'true'
mode: drift-detection
setup-aws: true
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
digger-token: ""
digger-organisation: digger
digger-hostname: https://8f38-5-151-139-90.ngrok-free.app
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DIGGER_GITHUB_TOKEN: ${{ secrets.DIGGER_GITHUB_TOKEN }}
INPUT_DRIFT_GITHUB_ISSUES: 'true'
DIGGER_MANAGEMENT_REPO: "https://github.com/diggerhq/mgmt-repo-one"
DIGGER_LICENSE_KEY: ${{ secrets.DIGGER_LICENSE_KEY }}