File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ name: Drift Detection
2+
3+ on:
4+ workflow_dispatch:
5+ #schedule: ## Schedule the job to run at 12.am daily.
6+ # - cron: '0 0 * * *'
7+
8+ jobs:
9+ detect-drift:
10+ runs-on: ubuntu-latest
11+ steps:
12+ - name: digger drift detection
13+ uses: diggerhq/digger@vLatest
14+ with:
15+ ee: 'true'
16+ mode: drift-detection
17+ setup-aws: true
18+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
19+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
20+ no-backend: true
21+ env:
22+ GITHUB_CONTEXT: ${{ toJson(github) }}
23+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+ DIGGER_GITHUB_TOKEN: ${{ secrets.DIGGER_GITHUB_TOKEN }}
25+ INPUT_DRIFT_GITHUB_ISSUES: 'true'
26+ DIGGER_LICENSE_KEY: ${{ secrets.DIGGER_LICENSE_KEY }}
You can’t perform that action at this time.
0 commit comments