File tree Expand file tree Collapse file tree 3 files changed +46
-74
lines changed Expand file tree Collapse file tree 3 files changed +46
-74
lines changed Original file line number Diff line number Diff line change
1
+ name : terraform-ci
2
+ on :
3
+ pull_request :
4
+ permissions :
5
+ actions : read
6
+ checks : read
7
+ contents : read
8
+ pull-requests : write
9
+ jobs :
10
+ ci :
11
+ uses : SPHTech-Platform/reusable-workflows/.github/workflows/terraform.yaml@v2
12
+ with :
13
+ upload_sarif : false
14
+ default_runner_override_label : self-hosted
15
+ runner_label : platform-eng-ent
16
+ secrets : inherit
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Autoupdate pre-commit configs and tflint aws plugin
2
+
3
+ on :
4
+ # every sunday at midnight
5
+ schedule :
6
+ - cron : " 0 0 * * 0"
7
+ # on demand
8
+ workflow_dispatch :
9
+
10
+ # Request from Org admin to allow Github Action workflow to make PR under Settings > Actions > General
11
+ permissions :
12
+ actions : read
13
+ checks : read
14
+ contents : write # require this to write to repo
15
+ pull-requests : write # require this to create PR
16
+
17
+ jobs :
18
+ auto-update :
19
+ runs-on :
20
+ - self-hosted
21
+ - platform-eng-ent
22
+ steps :
23
+ - uses : SPHTech-Platform/gha-pre-commit-autoupdate@testgh
24
+ name : Update pre-commit config automatically
25
+ with :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+ - uses : SPHTech-Platform/gha-tflint-aws-plugin-autoupdate@main
28
+ name : Update tflint aws plugin automatically
29
+ with :
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments