Skip to content

Commit ee708be

Browse files
authored
Create drift-slack-advanced
1 parent 14c63c8 commit ee708be

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 }}

0 commit comments

Comments
 (0)