generated from terraform-linters/tflint-ruleset-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from PatMyron/master
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
on: | ||
push: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '*/5 * * * *' | ||
workflow_dispatch: # Enables on-demand/manual triggering | ||
jobs: | ||
job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
- run: | | ||
cd tools/apispec-rule-gen/schema | ||
terraform init -upgrade | ||
terraform providers schema -json > schema.json | ||
cd ../.. | ||
git submodule update --remote | ||
go run ./apispec-rule-gen | ||
- uses: peter-evans/create-pull-request@v4 | ||
with: | ||
commit-message: | | ||
autogenerated maintenance | ||
title: autogenerated maintenance | ||
delete-branch: true | ||
body: | | ||
If tests are stuck on https://github.com/peter-evans/create-pull-request/issues/48: | ||
["Manually close pull requests and immediately reopen them. This will enable `on: pull_request` workflows to run and be added as checks."](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ terraform { | |
required_providers { | ||
azurerm = { | ||
source = "hashicorp/azurerm" | ||
version = "3.4.0" | ||
} | ||
} | ||
} |