generated from terraform-linters/tflint-ruleset-template
-
Notifications
You must be signed in to change notification settings - Fork 72
32 lines (32 loc) · 1.02 KB
/
maintenance.yaml
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
31
32
on:
push:
branches: [ master ]
schedule:
- cron: '0 0 * * 1'
workflow_dispatch: # Enables on-demand/manual triggering
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git submodule update --init --depth=0
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@v3
- name: go generate ./...
run: |
cd tools/provider-schema
terraform init -upgrade
terraform providers schema -json > schema.json
cd ../..
git submodule update --remote
go generate ./...
- uses: peter-evans/create-pull-request@v7
with:
commit-message: |
Update AWS provider/module and generated content
title: Update AWS provider/module and generated content
delete-branch: true
body: |
This is an automated pull request triggered by GitHub Actions. To trigger check runs, close and re-open it.